How to enable dynamic remarketing for OpenCart?

Як підключити динамічний ремаркетинг для OpenCart? e-Commerce

Duck, I had a separate video on how to deliver ecommerce via a plugin that we will wholeheartedly recommend for OpenCart today. And I will show how to put dynamic remarketing on the site through it.

Why do I say that I wholeheartedly recommend it? Because, well, damn, because of OpenCart, I always have some, usually, problems with sites. Because, firstly, OpenCart is popular only in our space. That is, the Americans somehow do not like him very much and there are a lot of various problems and nuances with him. Plus there are programmers who do all the codes and stuff, and it also works OK sometimes. And sometimes something like this will be screwed up or can’t be done. That’s why I like to solve any such problems, for example, through some modules or plugins. Plus, this plugin I’m talking about also transmits completely new and fresh Google Ads tags for dynamic remarketing, or rather the events we need. Not only that, but he can also set up Google Ads conversion for you, if you really need it.


Here, for example, is how the situation is now when I shoot it. This is the beginning of July 2023. There have been problems since June 26, in some from May 13-15 in accounts that use the fourth analytics. Yes, it seems that those who switched to this fourth analytics a long time ago are also facing such problems. If you’re not hooked, that’s pretty cool, cool. But most advertising accounts are very affected by this, and accordingly everything in the advertising account deteriorates. Therefore, setting the conversion tag, the purchase tag through this plugin solves all the problems you can think of there.

Receiving the necessary data for insertion into the plugin in Google Ads

Here we will put Google Ads remarketing. That is, that dynamic remarketing with new events. What are the new dynamic remarketing events? Because the majority, for example, use the old ones and think that everything is OK. “Tools and Settings”, open “Audience Manager” and here go to “Your data sources”.

And these data sources of yours, we will now open with you the Augie stables of Google, as I call them. What they’ve been doing lately is a quiet horror, but whatever. In short, look what we have. This is a Google Ads tag, it says it was last active on June 5th. I have no idea why it was only active on June 5. Maybe something was worn out. Often, clients come to us and for some reason they start everything from scratch. I don’t know what the logic is, but in any case, so be it. God be with him, maybe the site has been changed. It doesn’t matter.

Conditionally, what do we see here? We see that we have a Google tag that we need to set and, accordingly, we still need an event.

Getting Dynamic Remarketing Code from Google Ads

And Google doesn’t show me these events here. Now we will make the settings with you so that it is exactly dynamic remarketing.

Dynamic remarketing is when such a fragment of events appears. It will always appear in this form: page_view, value, items and that’s it. And therein lies the catch from the side of Google itself. Because he is already deceiving a little here, because your events still need to be transformed. It would seem that you just want to set up ads, follow his requirements, which he writes: “Put dynamic remarketing code”. But he does not describe how it should look.

What and why should be replaced in the received code from Google Ads?

In short, this script is the same one you saw on the previous screen. Here he is. What should be replaced in it? Change this page_view to 5 basic events. There is view_search_results, there is view_item_list, view_item, add_to_cart, purchase.

And it is necessary to make sure that these value parameters, i.e. price, income and ID, are dynamically changed. What does dynamically change mean? This means that depending on the volume of goods, quantity, price, these data were automatically recalculated. What is it for? This is necessary, first: so that Google Ads separately receives a set of data more quickly than from Google’s fourth analytics. Why? Because from the fourth analysis, he will transfer them for an eternity, and then he will enumerate them. Secondly, why do you need this pad, the fourth analytics, to transfer information, when Google Ads has its own tools to push them directly there. That is, speed gives you a fundamentally different result.

Second. Why do you need to set this thing up? Because on its basis and only on its basis, Google understands what the user does on your site. Yes, it would seem that you put the fourth analytics, like a million sites in this world. But Google cannot read them. It can read some data, yes. Because, as people who used to work at Google told me – Google sneezes from a high mountain on all your information privacy and stuff. Everyone is trying to figure out why he is being sued. Well, he’s good at it. Most likely, it tracks some information. But it does not think about tracking information that is really useful for you, so that you can further use it to simply make money.

Well, that’s it, I don’t know why Google continues to make this nuance. Why can’t you make a really adequate description, the certificate is right in the office itself. But screw him, we’ll forget about it. In short, you see how much I told you. And for some people, even this new transfer functionality, this Google business vertical, has not yet been implemented. That is, there is simply no technical possibility to use it, and it must be adjusted separately.

Configuring the plugin in OpenCart

But since we talked about this plugin on OpenCart, everything can be great, great if we use it and just set a few parameters. What are these parameters? We need to insert the ID of Google Ads itself. So I switched to Google Tag Manager to use it.

Here is this identifier. Or you need to copy this piece. Just be careful, because here it copies the entire piece of code, and you must add “AW-“, as it is correctly called. Turn on the status “Enabled” and be sure to save.

Checking the correct operation of the Google Ads remarketing plugin

After that, we return to our, for example, product card and look. We have a Google Ads remarketing tag. And even if we click on the product card, we automatically receive this event view_item, retail, 466. Everything as requested by Google in its own reference.

For example, we will add that we are here, we will add this item. And let’s add one more.

So where is our shopping cart? Let’s go to the basket, for example, I don’t know, just where they are formed. Most likely, Ads marketing was formed at the previous stage, which is quite cool. When clicking the “Add to cart” button. Now we will understand. Here it is added to the basket again. Go to our remarketing. Already two requests. Let’s click. There is add_to_cart. The one that is needed.

What works properly. Well, it’s not here, we don’t need it, yes. We don’t particularly need it there, begin_checkout. But, if we go to the full checkout, then we will have remarketing, which will, accordingly, transmit information about the purchase. Or you can customize it through Google Tag Manager. Who likes it. Here, begin_checkout can be passed separately, but Google Ads will already catch this begin_checkout.

Therefore, you can not transfer it separately in the business vertical. He will see it. It’s in this block of events, which will be here, here will be the block of events, the parameters that are passed to you were shown, there will also be begin_checkout.

How to configure conversion tag in OpenCart?

That’s basically all you need to set up dynamic remarketing on OpenCart. If you need to set up a conversion tag, then you simply paste that conversion tag here. And this is how it is. And the conversion tag, purchase tag will also work.

This is, in principle, the base you need to work with, what you need to be passed directly to the analytics in order for it to work correctly.

Bonus for those who watched the video to the end

And those who did sit until the end of the video, thanks and praise, receive a bonus. Who looked at the previous stage at begin_checkout, I did not have any remarketing at all. Well, the most observant will most likely notice it.

I simply didn’t even have any Google Ads remarketing here. And I would like it if even the Global site had this tag. Even this thing in the gtag, this thing, it should have been desirable to stand. Then you need to go to “Counters” additionally, copy this thing.

And you need to insert it in the header. I don’t know where you put it before or after the Google Tag Manager, probably not important. We will try to see it now. Saved. Let’s reload the page. And what do we see? The Global site tag appears. It is preferably placed everywhere on all pages, in, on every page of the website. It needs to be installed only once, and the event codes are additional. That is, your dynamic remarketing necessarily consists of two pieces of code.

Why didn’t I pay special attention to this? Because this will be our highlight for those who still watch the video to the end, and do not rush as in the proverb – ahead of their father to hell. Now, even this begin_checkout will be taken into account by the Google Ads system. All the same, a small bonus for the most attentive, who still watch the video to the end. So you have everything on OpenCart.

Яна Ляшенко
Rate author
Add a comment

Sergey Shevchenko Google Logist GoogleLogist
Google Ads 90 Days Package, will help make your advertising campaign not only profitable, but also increase sales from it