OpenCart: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
Added VQmod & OCmod sections
Line 32: Line 32:
</pre>
</pre>


[[:File:Get total to success.xml]]
[[Media:Get total to success.xml|Get_total_to_success.xml]]


=== OCmod ===
=== OCmod ===
Line 38: Line 38:
An OpenCart module called OCmod is required to insert it into the code.
An OpenCart module called OCmod is required to insert it into the code.


[[:File:Gtm.ocmod.zip]]
[[Media:Gtm.ocmod.zip|Gtm.ocmod.zip]]


== Other ==
== Other ==

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

Get_total_to_success.xml

OCmod

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

Gtm.ocmod.zip

Other

Feed URL, a module may need to be installed.

/index.php?route=feed/google_base