oldmankit
Forum Replies Created
-
AuthorPosts
-
So when a user submits an enquiry, their email address isn’t written to the WordPress Database?
That information could be very valuable to a site.
Thanks very much for pointing me in the right direction, Paolo.
OK, I understand. I thought it would be useful, but if it’s hard to implement, then it’s probably not worth it.
Using the second selector, in Google Tag Manager:
Create Trigger > Choose Event: ‘Form Submission’ > Configure trigger: uncheck ‘check validation’ > Fire on > Click ID equals agt_mail_agent
It’s quite a big topic to describe! As far as my very limited knowledge goes, we just need a CSS selector that we will reliably target the specific element we’re trying to track.
And I just found a couple of likely candidates:
.b_send_inquiry
and
#agt_mail_agent
. The first one is for the initial ‘Send Enquiry’ button, and the second is the ID of the actual form that pops up after pressing that button.
I tested using the first one, and it’s working fine.
I was setting up Google Tag Manager yesterday and had exactly the same issue.
Hi Paolo,
Yes, that’s what I would like! I hope we can do this in time before the Black Friday discount runs out ;-(
Kit
I know almost nothing about mySQL, but in ten minutes I was able to put together this query which finds all cities that aren’t attached to a post. Someone might find this useful:
SELECT * FROM wp_rco_geodir_post_locations WHERE NOT EXISTS ( SELECT * FROM wp_rco_geodir_gd_place_detail WHERE wp_rco_geodir_gd_place_detail.post_city = wp_rco_geodir_post_locations.city ) LIMIT 0 , 30
Thank you, Stiofan! That sounds like exactly the kind of thing we were looking for. Nice!
November 9, 2015 at 6:25 am in reply to: Responsive layout – 'Profile' details hidden by default #59394Thank you, Paolo! That did it.
Hi there Paolo,
How about changing from this:
All Places in United States’ Attractions
to this:
All Places in United States: Attractions
I just changed the apostrophe to a colon.
Although it’s not pretty, at least it doesn’t seem wrong. This wording works for the demo site and it would also work for my site.
Kit
Thanks, Paolo. I’ve always been a bit afraid of phpmyadmin. Maybe it’s time to learn it a bit better.
Thanks Stiofan for being responsive!
Thanks for that technique. I can see how that would work.
My concern is that there could be several unusued (redundant) locations that I have no way to find – except by manually visiting every single location that has been created on my site.
I just tested the demo site to see how the wording is there. If you visit http://wptry.it/try-geodirectory/places/united-states/attractions/ you will see “All Places in United States’ Attractions”. This wording is awkward, but it was easy enough for me to change on my site (with Paulo’s help). I wasn’t changing any core code, just adding a small custom function in functions.php.
-
AuthorPosts