Page 1 of 1

Having problem with some [agn*] tags

Posted: Sun Aug 27, 2006 5:12 pm
by flyboy
In the HTML template editor and the HTML mailing editor, I get the following error when I Save the message:

Error in personalization tag, please check!

When I try to use the following [agn*] tags:

[agnSUBSCRIBERCOUNT]
[agnUNSUBSCRIBE]
[agnPROFILE]
[agnDATADB_DE]
[agnDAYS_UNTILL]
[agnCUSTOMDATE_DE]

All the other tags seem to work O.K. any ideas?

Fedora Core 5
OpenEMM 5.0.1

Thanks,
Sam

Posted: Tue Aug 29, 2006 1:03 am
by flyboy
Hey,

Is anybody else having this problem in 5.0.1 ??? Maybe another bug?

Posted: Tue Aug 29, 2006 1:56 pm
by Dittrich
I do have the same problem in 5.0 ... didn't manage to get 5.0.1 running yet :(

TD

non working tags

Posted: Tue Aug 29, 2006 3:23 pm
by maschoff
[agnUNSUBSCRIBE]
[agnPROFILE]

These two tags are obsolete (left over from an old version and no longer in use).

Please see manuals for replacement.

Example for unsubscribing from OpenEMM newsletter:

1. Unsubscribe link in e-mail:

Code: Select all

http://www.openemm.org:8080/form.do?agnCI=1&agnFN=unsubscribe&agnUID=##AGNUID##
2. Reference to unsubscribe form in OpenEMM:

Code: Select all

<html>
  <head>
    <title></title>
    <meta http-equiv="refresh" content="0; URL=http://www.openemm.org/unsubscribe.html?agnUID=$!agnUID">
  </head>
</html>
3. Unsubscribe form (Typo3):

Code: Select all

<script type="text/javascript">
  uid = location.search;
  uid = unescape(uid.substring(8)); 
</script>

<form name="unsubform" action="http://www.openemm.org:8080/form.do" method="post" onSubmit="document.getElementById('param').value = uid;">
<input type="hidden" name="agnCI" value="1">
<input type="hidden" name="agnFN" value="unsubconfirm">
<input type="hidden" name="agnUID" id="param" value=test>
<input type="submit" class="inputsubmit" value="Unsubscribe">
</form>
Hope this fancy (but working!) real world example which includes the use of an CMS helps!

The other tags are tested right now - stay tuned ...

Posted: Tue Aug 29, 2006 3:29 pm
by flyboy
Yeah I like examples even though I'm a pretty technology savy real estate agent. Could be the Computer Science degree from GA Tech and 20 years of IT experience :wink:

Here's one more question for you. Is there a tag to generate the first part of the URL? (http://host.domain.com/...)

I don't want to hard code the URL in my templates, because if I move my web site I have to recode all the templates. This is more of an issue in drip campaigns than one time campaigns.

agnTags

Posted: Thu Aug 31, 2006 8:32 am
by maschoff
Ok, we checked the remaining agnTags listed above. All tags are only available in our commercial product (and not that vital anyway) and we simply forgot to remove them in the tag reference of the manual - sorry for that!

Possible Bug When Using agnTags in Text Version

Posted: Sun Jun 24, 2007 6:31 am
by mgala
When adding a link into a template in plain text such as the example,

http://www.openemm.org:8080/form.do?agn ... D=##AGNUID##

The message generated simply displays the tag and does not substitute the encyrpted AGNUID in place of the tag. I.e the result is:

http://www.openemm.org:8080/form.do?agn ... D=##AGNUID##

I noticed that if I enter the tag as:

href="http://www.openemm.org:8080/form.do?agn ... D=##AGNUID##" the ttemplate returns the correct AGNUID but does not strip out the href or thequotes, so the output is:

href="http://www.openemm.org:8080/r.html?uid= ... 4dgrh2v951"

The behavior works correctly for HTML version.