Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-09 17:15:49

MonkeyChap
New Member
Registered: 2007-01-03
Posts: 7

Download e-mail tracker

Hello,

I’d like to be able to ask people to provide their e-mail address prior to downloading files (e.g. whitepapers). This is fairly common practice, but does not seem to be possible with Textpattern. Has anyone found a way to do this ?

Ian

Offline

#2 2011-03-09 17:24:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,257
Website GitHub Mastodon Twitter

Re: Download e-mail tracker

You can use zcr … something like

<txp:zem_contact to="you@domain.tld" label="" required="1" thanks_form="mythanks">
<txp:zem_contact_email label="Your email" /><br />
<txp:zem_contact_submit label="Download" />
</txp:zem_contact>

and in your form mythanks you can have the file download link(s).


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2011-03-09 17:29:34

MonkeyChap
New Member
Registered: 2007-01-03
Posts: 7

Re: Download e-mail tracker

cool thanks. I’ll give it a try.

Is there any way to check it’s a valid e-mail address ?

Offline

#4 2011-03-09 17:30:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,257
Website GitHub Mastodon Twitter

Re: Download e-mail tracker

As far as I know… no


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2011-03-10 07:32:48

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: Download e-mail tracker

From ZCR plug-in help:

<txp:zem_contact_email />

Input field for user’s email address.

The entered email address will automatically be validated to make sure it is of the form “abc@xxx.yyy[.zzz]”. On non-Windows servers, a test will be done to verify that an A or MX record exists for the domain. Neither test prevents spam, but it does help detecting accidental typing errors.

Offline

#6 2011-03-10 09:01:54

MonkeyChap
New Member
Registered: 2007-01-03
Posts: 7

Re: Download e-mail tracker

Thanks – got it working now. It even seems to be sending mails despite the fact I’ve never been able to get Textpattern to send mails before.

Offline

#7 2011-03-10 11:33:16

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Download e-mail tracker

D’oh! Thanks, Joe. Deleted my misleading post.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2011-03-15 12:58:58

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Download e-mail tracker

For the sake of posterity :)

Colak also has a version of his suggestion @ TxpTips

Offline

#9 2011-03-15 14:56:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,257
Website GitHub Mastodon Twitter

Re: Download e-mail tracker

maverick wrote:

For the sake of posterity :)

Colak also has a version of his suggestion @ TxpTips

Oops forgot about it:) I knew I posted it somewhere but i thought it was in this forum


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB