javascript - Is it possible to trigger an click event, which will be registered by Google Tag Manager by using the .trigger() function? -


i got task, in have implement advanced tracking functionality sorts of forms, using google tag manager. thoughts now, create hidden anchor tag , append point in dom on load. giving anchor tag specific classes , ids based on page- , contenttype, each 1 of them unique.

now tried following: gave anchor tag class "gtmanalyticslink", wanted use trigger filter in google tag manager interface. main goal of task possibility of analyzing process of filling out forms , other defined tasks, user can on website. @ steps of form, change text of anchor tag filling in current events (e.g. "invalid input in field xyz") , trigger click event using trigger() function, these clicks not recognized clicks google tag manager while being in preview mode.

now question is, possible google tag manager register click events not fired natively (by user), trigger("click")?

thanks in advance!

patrick


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -