Spaces:
Build error
Build error
Romeo David commited on
Commit ·
213993b
1
Parent(s): c48a15e
Refactor target market and content analysis sections to retrieve and display data dynamically
Browse files- pages/output.py +29 -15
pages/output.py
CHANGED
|
@@ -225,14 +225,17 @@ Regardless, it is still a great channel worth investing to improve a business’
|
|
| 225 |
st.markdown("### DIGITAL MARKETING APPROACH: CUSTOMER CENTRIC INBOUND MARKETING")
|
| 226 |
st.markdown(f"""Digital Marketing is often called in-bound marketing in a sense that it is not intrusive: a person must search for the information before the marketing stimulus is served to them. Unlike the traditional offline marketing which is more brand-centric in style and intrusive (they are served to you even though you did not intend to see the marketing stimulus), digital marketing is customer-centric: it takes into account the needs, thoughts, and considerations of the customer in all stages in the sales funnel while strategically serving them the appropriate content at the right time, at the right frequency, and through the correct channel. We suggest that {client_name} looks into the details below with the view of understanding where the brand’s footing is in some stages in their customer’s decision and buying journey. """)
|
| 227 |
|
|
|
|
|
|
|
|
|
|
| 228 |
st.markdown("##### TARGET MARKET")
|
| 229 |
-
st.write(
|
| 230 |
|
| 231 |
st.markdown("##### PRODUCT/SERVICE DEMOGRAPHICS")
|
| 232 |
-
st.write(
|
| 233 |
|
| 234 |
st.markdown("##### MARKETING MESSAGE SUMMARY")
|
| 235 |
-
st.write(
|
| 236 |
|
| 237 |
st.markdown("##### WHAT IS THE DESIRED OUTCOMES OF DIGITAL MARKETING?")
|
| 238 |
st.write("TBD")
|
|
@@ -242,18 +245,18 @@ Regardless, it is still a great channel worth investing to improve a business’
|
|
| 242 |
|
| 243 |
|
| 244 |
st.markdown("##### WEBSITE AUDIENCE ACQUISITION")
|
| 245 |
-
st.write("
|
| 246 |
|
| 247 |
#LLD/PM/LN
|
| 248 |
lld_data = get_analyst_response("LLD/PM/LN Analyst")
|
| 249 |
st.markdown("##### LEAD LIST DEVELOPMENT")
|
| 250 |
-
st.write(lld_data
|
| 251 |
|
| 252 |
st.markdown("##### PROSPECTING MECHANISM")
|
| 253 |
-
st.write(lld_data
|
| 254 |
|
| 255 |
st.markdown("##### LEAD NURTURING")
|
| 256 |
-
st.write(lld_data
|
| 257 |
|
| 258 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 259 |
st.markdown("---")
|
|
@@ -262,16 +265,27 @@ Regardless, it is still a great channel worth investing to improve a business’
|
|
| 262 |
st.markdown("#### CONTENT - PROCESS AND ASSETS")
|
| 263 |
st.write(f"""Content is king in digital marketing. People log into the internet to look for and consume information in different formats: text-based, video, audio, or image. Content is what help businesses establish their expertise in the industry, convert leads into customers, guide their customers through their sales funnel, and build relationships with their customers. \n
|
| 264 |
We have evaluated the process of content development strategy and existing content assets of {client_name} based on how they serve clients throughout the customer journey. """)
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 271 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 272 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 273 |
-
st.markdown("---")
|
| 274 |
-
|
| 275 |
|
| 276 |
st.markdown("#### CONVERSION – ACTIVATION OF VISITORS")
|
| 277 |
st.markdown("##### AWARENESS TO TRAFFIC")
|
|
|
|
| 225 |
st.markdown("### DIGITAL MARKETING APPROACH: CUSTOMER CENTRIC INBOUND MARKETING")
|
| 226 |
st.markdown(f"""Digital Marketing is often called in-bound marketing in a sense that it is not intrusive: a person must search for the information before the marketing stimulus is served to them. Unlike the traditional offline marketing which is more brand-centric in style and intrusive (they are served to you even though you did not intend to see the marketing stimulus), digital marketing is customer-centric: it takes into account the needs, thoughts, and considerations of the customer in all stages in the sales funnel while strategically serving them the appropriate content at the right time, at the right frequency, and through the correct channel. We suggest that {client_name} looks into the details below with the view of understanding where the brand’s footing is in some stages in their customer’s decision and buying journey. """)
|
| 227 |
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
target_market_data = get_analyst_response("Target Market Analyst")
|
| 231 |
st.markdown("##### TARGET MARKET")
|
| 232 |
+
st.write(target_market_data['target_market'])
|
| 233 |
|
| 234 |
st.markdown("##### PRODUCT/SERVICE DEMOGRAPHICS")
|
| 235 |
+
st.write(target_market_data['demographics'])
|
| 236 |
|
| 237 |
st.markdown("##### MARKETING MESSAGE SUMMARY")
|
| 238 |
+
st.write(target_market_data['summary'])
|
| 239 |
|
| 240 |
st.markdown("##### WHAT IS THE DESIRED OUTCOMES OF DIGITAL MARKETING?")
|
| 241 |
st.write("TBD")
|
|
|
|
| 245 |
|
| 246 |
|
| 247 |
st.markdown("##### WEBSITE AUDIENCE ACQUISITION")
|
| 248 |
+
st.write(get_analyst_response("Website Audience Acquisition Analyst"))
|
| 249 |
|
| 250 |
#LLD/PM/LN
|
| 251 |
lld_data = get_analyst_response("LLD/PM/LN Analyst")
|
| 252 |
st.markdown("##### LEAD LIST DEVELOPMENT")
|
| 253 |
+
st.write(lld_data.get('lead_list_development', None))
|
| 254 |
|
| 255 |
st.markdown("##### PROSPECTING MECHANISM")
|
| 256 |
+
st.write(lld_data.get('prospecting_mechanism', None))
|
| 257 |
|
| 258 |
st.markdown("##### LEAD NURTURING")
|
| 259 |
+
st.write(lld_data.get('lead_nurturing', None))
|
| 260 |
|
| 261 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 262 |
st.markdown("---")
|
|
|
|
| 265 |
st.markdown("#### CONTENT - PROCESS AND ASSETS")
|
| 266 |
st.write(f"""Content is king in digital marketing. People log into the internet to look for and consume information in different formats: text-based, video, audio, or image. Content is what help businesses establish their expertise in the industry, convert leads into customers, guide their customers through their sales funnel, and build relationships with their customers. \n
|
| 267 |
We have evaluated the process of content development strategy and existing content assets of {client_name} based on how they serve clients throughout the customer journey. """)
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
pna_data = get_analyst_response("Content - Process and Assets Analyst")
|
| 271 |
+
if pna_data:
|
| 272 |
+
st.markdown("##### AWARENESS STAGE")
|
| 273 |
+
st.write(pna_data.get('awareness_stage', 'N/A'))
|
| 274 |
+
st.markdown("##### CONSIDERATION STAGE")
|
| 275 |
+
st.write(pna_data.get('consideration_stage', 'N/A'))
|
| 276 |
+
st.markdown("##### DECISION STAGE")
|
| 277 |
+
st.write(pna_data.get('decision_stage', 'N/A'))
|
| 278 |
|
| 279 |
+
else:
|
| 280 |
+
st.markdown("##### AWARENESS STAGE")
|
| 281 |
+
st.write(None)
|
| 282 |
+
st.markdown("##### CONSIDERATION STAGE")
|
| 283 |
+
st.write(None)
|
| 284 |
+
st.markdown("##### DECISION STAGE")
|
| 285 |
+
st.write(None)
|
| 286 |
+
|
| 287 |
+
st.markdown("---")
|
| 288 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
|
|
|
|
|
|
| 289 |
|
| 290 |
st.markdown("#### CONVERSION – ACTIVATION OF VISITORS")
|
| 291 |
st.markdown("##### AWARENESS TO TRAFFIC")
|