4
4
4upik2019-10-14 09:21:32
metadata
4upik, 2019-10-14 09:21:32

How to show the code in Google tag manager if the conditions are met - the price of the product is more than 10000?

How to show the code in Google tag manager if the conditions are met - the price of the product is more than 10000?
There are product pages https://max.kg/item/3868150/vanna-stalnaya-blb-eur...
The page has a code fragment with a price

<div class="box_gr"><div  onclick="kol(this);" id="wm_3868150" class="minus1"></div><div class="vall"><input  value="1" data-sum="13210" data-pack="0" data-sklad="1" data-kol="1" onblur="validKol(this);" id="w_3868150" type="text"></div><div onclick="kol(this);" id="wp_3868150" class="plus1"></div></div box_gr><div><span class="tcena" itemprop="price">13 210 сом</span></div>			
    </div>

where data-sum="13210" displays the price of the product, is it possible to set a condition in the Google tag manager if data-sum is on the product page => then add the code (jivosite) to the page for display, if not, do not add.
I watched the lessons on Google tag manager, it explains how to change the content of the page when the page url changes (#hashtag, variables in the url), but I didn’t find how to change the content depending on the content of the page. Please help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question