Google Ads Goal Snippet - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Google Ads Goal Snippet

SN

Steven Nel

SP Page Builder 2 years ago

Good Day,

I need to add goal completion snippets from google ads to a specific thank you page I have created, but I cannot see anywhere in page builder pro 4 where to add this custom code. How do I do this? I only need it for a specific page, not the entire site, so using custom code option for the template will not work.

Thanks, Steven

0
6 Answers
SN
Steven Nel
Accepted Answer
2 years ago #101727

Anyone planning on replying here? I'm a paying customer and expect a resonse at least!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #101848

Hi Steven,

Sorry for delay. By default SPPB doesn't allow to use custom JS/PHP code inside pages nor addons.

You have to use extra steps:

  1. Install HD-AnyCode module (or similar module for custom code!)
  2. Put your G-code inside
  3. Publish module
  4. Use that module using Module addon
0
SN
Steven Nel
Accepted Answer
2 years ago #102161

Please can you advise on a recommended module for Joomla 4? HD-Anycode is not supported.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #102175

Make research on Joomla Extension Directory

.... but HD-AnyCode module for J3.x still works on my private J4 site. This is very basic module, nothing changed in that area. Talk with its developer, buy him a "virtual" coffee.

0
SN
Steven Nel
Accepted Answer
2 years ago #102367

I have tried another module. It does not work, google does not detect the tag and I have followed the steps suggested.

It is very strange that this cannot be done using page builder. Quite honestly, it should be a standard feature since custom CSS can be added at the page level and adding google tracking codes are very much a necessisty for anyone building a site.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #102539

You can publish custom code in a different position, etc.

and remember even Google make mistakes! and needs time to start collection data, read posts/comments added by wordpress webmasters, you will see.

0