SlideShare a Scribd company logo
1 of 5
Operationalize Your Experience Optimization
Strategy with VWO SmartCode
Overview
VWO SmartCode is a JavaScript code snippet that enables you to leverage the features of the VWO
experience optimization platform on your website. VWO is a cloud-native solution which allows you to
put your ideas to work quickly and build enriching experience for your users.
VWO SmartCode establishes a secure communication channel between the VWO servers and your
website. VWO SmartCode enables you to run automated campaigns on your webpages for better user
engagement or create customized web experiences to study user behavior and gather meaningful insights.
Types of SmartCodes
VWO supports two types of SmartCodes: Asynchronous SmartCode and Synchronous SmartCode. These
two SmartCodes differ by loading pattern and execution, and each presents a seamless experience for
different types of business usecases.
Asynchronous SmartCode
 Loads parallelly with your webpage to foster improved website performance
 Provides timer configuration options for loading of page settings and VWO library
Synchronous SmartCode
 Executes each line of code in the script sequentially
 Accelerates response to subsequent requests by storing page settings and VWO library in the
browser cache
Accessing VWO SmartCode
A SmartCode is generated automatically for each account ID.
To access your VWO SmartCode:
1. Log in to your VWO account.
2. Click the Settings icon ( ).
3. On the SETTINGS screen, click the SMARTCODE tab to display the SmartCode for your
account. You can choose Synchronous or Asynchronous SmartCode based on your business
requirement.
VWO SmartCode Execution Workflow
The following workflow provides visibility into each step of SmartCode execution. The workflow
describes how SmartCode executes to enable VWO implement variations and orchestrate a new working
environment for your visitors.
The workflow is illustrated with the help of a flow diagram.
Figure 1: SmartCode Execution Workflow
Configuring SmartCode for Your Website
You must add the SmartCode to all webpages where you require running tests and campaigns. The VWO
SmartCode can be installed either automatically or manually. For automatic installation, download the
VWO plug-ins for specific third-party platforms. The information in this section describes the manual
installation of the VWO SmartCode.
Key Points to Remember
 You must place the SmartCode before the closing </Head> tag of your website.
 If the webpage contains Iframe URLs, you must install the VWO SmartCode on the Iframe URL.
 If template-based headers and footers are used across the website, you must add the VWO
SmartCode in the header.
Installing VWO SmartCode Manually
1. Access your VWO SmartCode. For more information, refer to Accessing VWO SmartCode.
2. Copy the SmartCode.
3. Sign in to your website admin panel and paste the copied SmartCode before the closing </Head>
tag in the page source code.
NOTE: If you need assistance in installing the SmartCode manually, you can click Send to Developer to
email to SmartCode to a developer.
FAQS
1. What is the difference between synchronous and asynchronous smartcodes?
An Asynchronous SmartCode loads along with your webpage,while a Synchronous SmartCode executes
every line of code snippet sequentially to load.
2. What is the advantage of Asynchronous SmartCodes?
Asynchronous SmartCodes provide the following advantages:
 Achieve faster page loads and improved website performance.
 Allow timer configurations for loading of page settings and VWO library.
3. How to check if the SmartCode is installed correctly?
You can use SmartCode Checker in VWO to verify if the SmartCode is installed correctly for a webpage.
The VWO SmartCode Checker allows verifying one URL at once.
4. How to add SmartCode for the React-helmet case?
In a React-helmet implementation, the <helmet> tag abstracts the <head> tag. You must add the
SmartCode before the closing </helmet> tag in the webpage source code.

More Related Content

Similar to VWO SmartCode KB Article (Ankur Gupta).docx

Transaction launcher
Transaction launcherTransaction launcher
Transaction launcher
kalyan238
 
Tech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portalTech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portal
mlech23
 

Similar to VWO SmartCode KB Article (Ankur Gupta).docx (20)

Vizru Smart Procurement Framework
Vizru Smart Procurement Framework Vizru Smart Procurement Framework
Vizru Smart Procurement Framework
 
Vaadin Jump Start
Vaadin Jump StartVaadin Jump Start
Vaadin Jump Start
 
Build your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automationBuild your first rpa bot using IBM RPA automation
Build your first rpa bot using IBM RPA automation
 
4 useful things web designers can do with meta tags
4 useful things web designers can do with meta tags4 useful things web designers can do with meta tags
4 useful things web designers can do with meta tags
 
ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)ATG - Commerce Service Center (CSC)
ATG - Commerce Service Center (CSC)
 
Transaction launcher
Transaction launcherTransaction launcher
Transaction launcher
 
Joomla virtuemart zipcode validator
Joomla virtuemart zipcode validatorJoomla virtuemart zipcode validator
Joomla virtuemart zipcode validator
 
Azure appservice
Azure appserviceAzure appservice
Azure appservice
 
Google Cloud Lightning Talk
Google Cloud Lightning TalkGoogle Cloud Lightning Talk
Google Cloud Lightning Talk
 
Code Builder
Code BuilderCode Builder
Code Builder
 
How to integrate portlet as widget in liferay to any website application
How to integrate portlet as widget in liferay to any website applicationHow to integrate portlet as widget in liferay to any website application
How to integrate portlet as widget in liferay to any website application
 
Tech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portalTech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portal
 
Tech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portalTech p22 integrating sap with web sphere portal
Tech p22 integrating sap with web sphere portal
 
Ds white papers_caa_radebyexample
Ds white papers_caa_radebyexampleDs white papers_caa_radebyexample
Ds white papers_caa_radebyexample
 
Open Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito introOpen Hack Taiwan 2012 - Mojito intro
Open Hack Taiwan 2012 - Mojito intro
 
CS-Cart Salesforce connector
CS-Cart Salesforce connectorCS-Cart Salesforce connector
CS-Cart Salesforce connector
 
JavaScript Training Day 01 Iqra Technology.pptx
JavaScript Training Day 01 Iqra Technology.pptxJavaScript Training Day 01 Iqra Technology.pptx
JavaScript Training Day 01 Iqra Technology.pptx
 
Micro-Frontend Architecture
Micro-Frontend ArchitectureMicro-Frontend Architecture
Micro-Frontend Architecture
 
Phonegap android angualr material design
Phonegap android angualr material designPhonegap android angualr material design
Phonegap android angualr material design
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 

More from Ankur Gupta (6)

White paper (internal technical publications)
White paper (internal technical publications)White paper (internal technical publications)
White paper (internal technical publications)
 
Research summary (wine industry)
Research summary (wine  industry)Research summary (wine  industry)
Research summary (wine industry)
 
Localization
LocalizationLocalization
Localization
 
Administration guide (Online Charging System)
Administration guide (Online Charging System)Administration guide (Online Charging System)
Administration guide (Online Charging System)
 
Technical Publications Current Challenges
Technical Publications Current ChallengesTechnical Publications Current Challenges
Technical Publications Current Challenges
 
Oman_VIS_Telecom_Provider_Search_v1_For_ROP_User
Oman_VIS_Telecom_Provider_Search_v1_For_ROP_UserOman_VIS_Telecom_Provider_Search_v1_For_ROP_User
Oman_VIS_Telecom_Provider_Search_v1_For_ROP_User
 

Recently uploaded

如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
ogawka
 
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di MalangObat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Jakarta Wa 085176963835 Apotek Jual Obat Cytotec Di Jakarta
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
yulianti213969
 
Mental Health Issues of Graduate Students
Mental Health Issues of Graduate StudentsMental Health Issues of Graduate Students
Mental Health Issues of Graduate Students
vineshkumarsajnani12
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
vineshkumarsajnani12
 
Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312
LR1709MUSIC
 
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
yulianti213969
 
What is paper chromatography, principal, procedure,types, diagram, advantages...
What is paper chromatography, principal, procedure,types, diagram, advantages...What is paper chromatography, principal, procedure,types, diagram, advantages...
What is paper chromatography, principal, procedure,types, diagram, advantages...
srcw2322l101
 

Recently uploaded (20)

Beyond Numbers A Holistic Approach to Forensic Accounting
Beyond Numbers A Holistic Approach to Forensic AccountingBeyond Numbers A Holistic Approach to Forensic Accounting
Beyond Numbers A Holistic Approach to Forensic Accounting
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
 
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di MalangObat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
Obat Aborsi Malang 0851\7696\3835 Jual Obat Cytotec Di Malang
 
What are the differences between an international company, a global company, ...
What are the differences between an international company, a global company, ...What are the differences between an international company, a global company, ...
What are the differences between an international company, a global company, ...
 
wagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORIwagamamaLab presentation @MIT 20240509 IRODORI
wagamamaLab presentation @MIT 20240509 IRODORI
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
 
Understanding Financial Accounting 3rd Canadian Edition by Christopher D. Bur...
Understanding Financial Accounting 3rd Canadian Edition by Christopher D. Bur...Understanding Financial Accounting 3rd Canadian Edition by Christopher D. Bur...
Understanding Financial Accounting 3rd Canadian Edition by Christopher D. Bur...
 
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptxGoal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
Goal Presentation_NEW EMPLOYEE_NETAPS FOUNDATION.pptx
 
Mental Health Issues of Graduate Students
Mental Health Issues of Graduate StudentsMental Health Issues of Graduate Students
Mental Health Issues of Graduate Students
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
 
The Vietnam Believer Newsletter_May 13th, 2024_ENVol. 007.pdf
The Vietnam Believer Newsletter_May 13th, 2024_ENVol. 007.pdfThe Vietnam Believer Newsletter_May 13th, 2024_ENVol. 007.pdf
The Vietnam Believer Newsletter_May 13th, 2024_ENVol. 007.pdf
 
The Art of Decision-Making: Navigating Complexity and Uncertainty
The Art of Decision-Making: Navigating Complexity and UncertaintyThe Art of Decision-Making: Navigating Complexity and Uncertainty
The Art of Decision-Making: Navigating Complexity and Uncertainty
 
Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312Shots fired Budget Presentation.pdf12312
Shots fired Budget Presentation.pdf12312
 
Presentation on cross cultural negotiations.
Presentation on cross cultural negotiations.Presentation on cross cultural negotiations.
Presentation on cross cultural negotiations.
 
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
obat aborsi jakarta wa 081336238223 jual obat aborsi cytotec asli di jakarta9...
 
Navigating Tax Season with Confidence Streamlines CPA Firms
Navigating Tax Season with Confidence Streamlines CPA FirmsNavigating Tax Season with Confidence Streamlines CPA Firms
Navigating Tax Season with Confidence Streamlines CPA Firms
 
What is paper chromatography, principal, procedure,types, diagram, advantages...
What is paper chromatography, principal, procedure,types, diagram, advantages...What is paper chromatography, principal, procedure,types, diagram, advantages...
What is paper chromatography, principal, procedure,types, diagram, advantages...
 
Most Visionary Leaders in Cloud Revolution, Shaping Tech’s Next Era - 2024 (2...
Most Visionary Leaders in Cloud Revolution, Shaping Tech’s Next Era - 2024 (2...Most Visionary Leaders in Cloud Revolution, Shaping Tech’s Next Era - 2024 (2...
Most Visionary Leaders in Cloud Revolution, Shaping Tech’s Next Era - 2024 (2...
 
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptxThompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
Thompson_Taylor_MBBS_PB1_2024-03 (1)- Project & Portfolio 2.pptx
 
Mastering The Art Of 'Closing The Sale'.
Mastering The Art Of 'Closing The Sale'.Mastering The Art Of 'Closing The Sale'.
Mastering The Art Of 'Closing The Sale'.
 

VWO SmartCode KB Article (Ankur Gupta).docx

  • 1. Operationalize Your Experience Optimization Strategy with VWO SmartCode Overview VWO SmartCode is a JavaScript code snippet that enables you to leverage the features of the VWO experience optimization platform on your website. VWO is a cloud-native solution which allows you to put your ideas to work quickly and build enriching experience for your users. VWO SmartCode establishes a secure communication channel between the VWO servers and your website. VWO SmartCode enables you to run automated campaigns on your webpages for better user engagement or create customized web experiences to study user behavior and gather meaningful insights. Types of SmartCodes VWO supports two types of SmartCodes: Asynchronous SmartCode and Synchronous SmartCode. These two SmartCodes differ by loading pattern and execution, and each presents a seamless experience for different types of business usecases. Asynchronous SmartCode  Loads parallelly with your webpage to foster improved website performance  Provides timer configuration options for loading of page settings and VWO library Synchronous SmartCode  Executes each line of code in the script sequentially  Accelerates response to subsequent requests by storing page settings and VWO library in the browser cache Accessing VWO SmartCode A SmartCode is generated automatically for each account ID. To access your VWO SmartCode: 1. Log in to your VWO account. 2. Click the Settings icon ( ).
  • 2. 3. On the SETTINGS screen, click the SMARTCODE tab to display the SmartCode for your account. You can choose Synchronous or Asynchronous SmartCode based on your business requirement. VWO SmartCode Execution Workflow The following workflow provides visibility into each step of SmartCode execution. The workflow describes how SmartCode executes to enable VWO implement variations and orchestrate a new working environment for your visitors. The workflow is illustrated with the help of a flow diagram.
  • 3. Figure 1: SmartCode Execution Workflow
  • 4. Configuring SmartCode for Your Website You must add the SmartCode to all webpages where you require running tests and campaigns. The VWO SmartCode can be installed either automatically or manually. For automatic installation, download the VWO plug-ins for specific third-party platforms. The information in this section describes the manual installation of the VWO SmartCode. Key Points to Remember  You must place the SmartCode before the closing </Head> tag of your website.  If the webpage contains Iframe URLs, you must install the VWO SmartCode on the Iframe URL.  If template-based headers and footers are used across the website, you must add the VWO SmartCode in the header. Installing VWO SmartCode Manually 1. Access your VWO SmartCode. For more information, refer to Accessing VWO SmartCode. 2. Copy the SmartCode. 3. Sign in to your website admin panel and paste the copied SmartCode before the closing </Head> tag in the page source code. NOTE: If you need assistance in installing the SmartCode manually, you can click Send to Developer to email to SmartCode to a developer. FAQS 1. What is the difference between synchronous and asynchronous smartcodes? An Asynchronous SmartCode loads along with your webpage,while a Synchronous SmartCode executes every line of code snippet sequentially to load. 2. What is the advantage of Asynchronous SmartCodes? Asynchronous SmartCodes provide the following advantages:  Achieve faster page loads and improved website performance.  Allow timer configurations for loading of page settings and VWO library. 3. How to check if the SmartCode is installed correctly?
  • 5. You can use SmartCode Checker in VWO to verify if the SmartCode is installed correctly for a webpage. The VWO SmartCode Checker allows verifying one URL at once. 4. How to add SmartCode for the React-helmet case? In a React-helmet implementation, the <helmet> tag abstracts the <head> tag. You must add the SmartCode before the closing </helmet> tag in the webpage source code.