Hello Everybody,
Good Morning.
I have a query regarding Google Analytics Goals Setup for Pdf/Doc downloads from product pages at my website.
The website has various products under inventory section where some PDF and DOC files are also provided for free downloading detailing the specifications for individual products.
The path for the PDF/DOC files look something like:
http://attachments.example.com/4205/CAT3512%2024Z06694%201105KW%20Gset.doc
http://attachments.example.com/11631/XQ1000%20Spec%20Sheet.pdf
I've come up with a regular expression to track all such downloads which looks like:
/[0-9]+/([A-Za-z0-9-% ]+)\.[(pdf)(doc)]
OR
attachments.example.com/[0-9]+/([A-Za-z0-9-% ]+)\.[(pdf)(doc)]
I've tested the regular expression via [
analyticsmarket.com...] and its matching the files URLs I'm trying to download.
Still, the expression is not tracking any downloads under Analytics. I've tried both variations, i.e.
/[0-9]+/([A-Za-z0-9-% ]+)\.[(pdf)(doc)]
OR
attachments.example.com/[0-9]+/([A-Za-z0-9-% ]+)\.[(pdf)(doc)]
Attached image shows how the Goal is currently setup under Analytics.
Can anyone advise please on what I'm doing wrong?
[PS. Not sure how to attach an image]
Thanks in Advance!