OpenCart: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
Added VQmod & OCmod sections
Line 22: Line 22:
== Conversion Value ==
== Conversion Value ==


An OpenCart module called VQMOD is required to insert it into the code.
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 />
Before using these, It is best to check that the references are the same and the GTM ID's are changed.
 
=== VQmod ===
An OpenCart module called VQmod is required to insert it into the code.
<pre>
<pre>
vqmod/xml/get_total_to_success.xml
vqmod/xml/get_total_to_success.xml
</pre>
</pre>
[[:File:Get total to success.xml]]
=== OCmod ===
An OpenCart module called OCmod is required to insert it into the code.
[[:File:Gtm.ocmod.zip]]


== Other ==
== Other ==

Revision as of 10:28, 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

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 and the GTM ID's are changed.

VQmod

An OpenCart module called VQmod is required to insert it into the code.

vqmod/xml/get_total_to_success.xml

File:Get total to success.xml

OCmod

An OpenCart module called OCmod is required to insert it into the code.

File:Gtm.ocmod.zip

Other

Feed URL, a module may need to be installed.

/index.php?route=feed/google_base