OpenCart: Difference between revisions
Jump to navigation
Jump to search
| Line 29: | Line 29: | ||
The easiest and most reliable way to install the Conversion value tracking is via Modules that inject the code directly into core files. | The easiest and most reliable way to install the Conversion value tracking is via Modules that inject the code directly into core files. | ||
These are Upgrade safe.<br /> | These are Upgrade safe.<br /> | ||
Before using these, | Before using these, it is best to check that the references are the same.<br /><br /> | ||
<b>Change the GTM ID's in the script!</b>. | |||
=== VQmod === | === VQmod === | ||
Revision as of 10:33, 15 September 2022
Google Tag Manager
Install Tag Manager.
- Note, the OCmod & VQmod scripts below insert the Tag Manager.
Main Template file:
/catalog/view/theme/<<Theme Folder>>/template/common/header.tpl
Conversion URLS
Contact Thank-you URL:
index.php?route=information/contact/success
Sale Thank-you URL:
index.php?route=checkout/success
Account Creation URL:
index.php?route=account/success
Conversion Value
The easiest and most reliable way to install the Conversion value tracking is via Modules that inject the code directly into core files.
These are Upgrade safe.
Before using these, it is best to check that the references are the same.
Change the GTM ID's in the script!.
VQmod
An OpenCart module called VQmod is required to insert it into the code.
vqmod/xml/get_total_to_success.xml
OCmod
An OpenCart module called OCmod is required to insert it into the code.
Other
Feed URL, a module may need to be installed.
/index.php?route=feed/google_base