I would like to trigger an event for a specific page view with a form on it. The page has a Formidable form but I want to track/trigger the page view before the person submits a form. Can I do this within Formidable or anything else? Any advise would be welcome!
Tracking QR code via Google Analytics = https://www.sproutqr.com/blog/qr-code-tracking#toc-how-to-track-qr-code-scans
If PHP is your route, your going to probably want to build a custom post/page template and use whatever PHP you find sufficient to accomplish your method of doing a function on page access/load (load probably has to be JS/JQuery).
If parameters are the route you choose, you might use jquery to capture the parameters: https://stackoverflow.com/questions/4656843/get-querystring-from-url-using-jquery
ok thx. I'll have a go and get back
Please login or Register to submit your answer
Like track page views or actually trigger some custom code?
Both. Definitely track page views AND enter that data in a formidable form. And in some situations Trigger an event.
Example. I have specific pages for clients linked to QR codes. If someone scans that QR code and goes to that page, it needs to be recorded and if say they have instructions to be texted when that page is viewed I need to do an api call to Twilio or Integromat to send that text and perform other tasks.