Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author yuvalo

    (@yuvalo)

    Hi

    Well, there is another option but its a bit tricky and doesn’t cover all use cases.
    You can sometimes use the jQuery selector logic to track child elements.
    Can you give me a specific example of what you are trying to track?

    btw, pro plugin also allows you to track all the “a” tags on the page and we are working on forms.

    Thanks,
    Yuval

    Thread Starter joycegrace

    (@joycegrace)

    I’m trying to track the form submission when someone clicks to submit a password on a WordPress password protected posts. This is using native WordPress password protection for posts and pages. It doesn’t come with an ID or class – or at least I can’t find it when using Inspect Element on Chrome.

    So I’m wondering if I could say, define the “submit” button click somehow. I guess that may count as a form submission?

    The hard thing here is that the ‘target’ of the form is actually the same page – the URL does not change when someone submits the password. So I’m having trouble understanding how to set this up properly, whatever the method. GTM trials have not worked for me so far, but I can’t figure out why. No matter how broad or specific I get with the rules, the tag won’t fire for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can this use something other than Class or ID?’ is closed to new replies.