Submitted URL: https://informativocdp.com.br.admin-eu.cas.ms/
Effective URL: https://www.casadopapel.com.br/
Submission: On May 11 via api from VN

Summary

This website contacted 30 IPs in 6 countries across 24 domains to perform 222 HTTP transactions. The main IP is 34.231.96.45, located in Ashburn, United States and belongs to AMAZON-AES, US. The main domain is www.casadopapel.com.br.
TLS certificate: Issued by R3 on April 24th 2021. Valid for: 3 months.
This is the only time www.casadopapel.com.br was scanned on urlscan.io!

urlscan.io Verdict: No classification

Domain & IP information

IP Address AS Autonomous System
1 51.105.164.234 8075 (MICROSOFT...)
3 2a02:26f0:64:... 20940 (AKAMAI-ASN1)
1 1 191.6.211.41 28299 (IPV6 Inte...)
2 8 34.231.96.45 14618 (AMAZON-AES)
11 2600:9000:205... 16509 (AMAZON-02)
12 3.222.77.24 14618 (AMAZON-AES)
4 2a03:2880:f01... 32934 (FACEBOOK)
2 2a00:1450:400... 15169 (GOOGLE)
2 199.232.137.44 54113 (FASTLY)
5 2a00:1450:400... 15169 (GOOGLE)
125 2600:9000:211... 16509 (AMAZON-02)
3 2606:2800:233... 15133 (EDGECAST)
3 2a03:2880:f11... 32934 (FACEBOOK)
9 2a00:1450:400... 15169 (GOOGLE)
1 2a00:1450:400... 15169 (GOOGLE)
2 2a00:1450:400... 15169 (GOOGLE)
1 3.23.208.81 16509 (AMAZON-02)
1 172.217.23.98 15169 (GOOGLE)
2 2a00:1450:400... 15169 (GOOGLE)
8 129.213.71.140 31898 (ORACLE-BM...)
1 2a02:2638:1::3 44788 (ASN-CRITE...)
2 2a00:1450:400... 15169 (GOOGLE)
2 2a00:1450:400... 15169 (GOOGLE)
1 2a00:1450:400... 15169 (GOOGLE)
1 142.251.5.156 15169 (GOOGLE)
10 170.82.174.10 266444 (3L CLOUD ...)
1 1 178.250.0.163 44788 (ASN-CRITE...)
1 74.119.119.150 19750 (AS-CRITEO)
1 2a02:2638::1c 44788 (ASN-CRITE...)
1 129.213.13.25 31898 (ORACLE-BM...)
1 2606:4700::68... 13335 (CLOUDFLAR...)
222 30
Domain Requested by
125 d1rpfggbb8iuri.cloudfront.net www.casadopapel.com.br
d2rx7920ojogr7.cloudfront.net
service.smarthint.co
static.smarthint.co
12 supriagora.admin.core.dcg.com.br www.casadopapel.com.br
11 d2rx7920ojogr7.cloudfront.net www.casadopapel.com.br
d2rx7920ojogr7.cloudfront.net
10 static.smarthint.co service.smarthint.co
static.smarthint.co
9 www.google-analytics.com d2rx7920ojogr7.cloudfront.net
www.google-analytics.com
www.googletagmanager.com
8 service.smarthint.co informativocdp.com.br.admin-eu.cas.ms
d2rx7920ojogr7.cloudfront.net
service.smarthint.co
6 www.casadopapel.com.br 2 redirects www.casadopapel.com.br
d2rx7920ojogr7.cloudfront.net
5 fonts.gstatic.com fonts.googleapis.com
4 connect.facebook.net www.casadopapel.com.br
connect.facebook.net
informativocdp.com.br.admin-eu.cas.ms
3 www.facebook.com www.casadopapel.com.br
3 mcasproxy.azureedge.net informativocdp.com.br.admin-eu.cas.ms
mcasproxy.azureedge.net
2 www.google.de
2 www.google.com
2 www.gstatic.com www.googletagmanager.com
www.gstatic.com
2 stats.g.doubleclick.net www.google-analytics.com
2 selo.compreconfie.com.br www.casadopapel.com.br
2 www.supriagora.com.br d2rx7920ojogr7.cloudfront.net
2 cdn.taboola.com www.casadopapel.com.br
www.googletagmanager.com
2 fonts.googleapis.com d2rx7920ojogr7.cloudfront.net
service.smarthint.co
1 stackpath.bootstrapcdn.com service.smarthint.co
1 search.smarthint.co d2rx7920ojogr7.cloudfront.net
1 gum.criteo.com static.criteo.net
1 widget.us.criteo.com
1 sslwidget.criteo.com 1 redirects
1 bid.g.doubleclick.net www.googleadservices.com
1 googleads.g.doubleclick.net www.googleadservices.com
1 static.criteo.net www.googletagmanager.com
1 www.googleadservices.com www.googletagmanager.com
1 receiver.posclick.dinamize.com www.googletagmanager.com
1 www.googletagmanager.com d2rx7920ojogr7.cloudfront.net
1 banner.compreconfie.com.br selo.compreconfie.com.br
1 informativocdp.com.br 1 redirects
1 informativocdp.com.br.admin-eu.cas.ms
222 33
Subject Issuer Validity Valid
*.mcas.ms
Microsoft Azure TLS Issuing CA 01
2021-05-11 -
2022-05-06
a year crt.sh
*.azureedge.net
DigiCert SHA2 Secure Server CA
2020-11-21 -
2021-11-30
a year crt.sh
www.casadopapel.com.br
R3
2021-04-24 -
2021-07-23
3 months crt.sh
*.cloudfront.net
DigiCert Global CA G2
2021-02-22 -
2022-02-21
a year crt.sh
*.core.dcg.com.br
Amazon
2021-04-26 -
2022-05-25
a year crt.sh
*.facebook.com
DigiCert SHA2 High Assurance Server CA
2021-04-06 -
2021-07-03
3 months crt.sh
upload.video.google.com
GTS CA 1O1
2021-04-13 -
2021-07-06
3 months crt.sh
*.taboola.com
DigiCert TLS RSA SHA256 2020 CA1
2020-11-25 -
2021-12-26
a year crt.sh
www.supriagora.com.br
R3
2021-04-30 -
2021-07-29
3 months crt.sh
*.google.com
GTS CA 1O1
2021-04-13 -
2021-07-06
3 months crt.sh
sni185fagl.wpc.edgecastcdn.net
DigiCert SHA2 Secure Server CA
2019-09-05 -
2021-09-08
2 years crt.sh
sni186acgl.wpc.edgecastcdn.net
DigiCert SHA2 Secure Server CA
2019-09-05 -
2021-09-09
2 years crt.sh
*.google-analytics.com
GTS CA 1C3
2021-04-13 -
2021-07-06
3 months crt.sh
*.g.doubleclick.net
GTS CA 1O1
2021-04-13 -
2021-07-06
3 months crt.sh
receiver.posclick.dinamize.com
R3
2021-03-14 -
2021-06-12
3 months crt.sh
www.googleadservices.com
GTS CA 1C3
2021-04-13 -
2021-07-06
3 months crt.sh
service.smarthint.co
Sectigo RSA Domain Validation Secure Server CA
2020-06-30 -
2022-10-02
2 years crt.sh
*.criteo.net
DigiCert TLS Hybrid ECC SHA384 2020 CA1
2021-04-14 -
2021-07-12
3 months crt.sh
www.google.com
GTS CA 1C3
2021-04-13 -
2021-07-06
3 months crt.sh
www.google.de
GTS CA 1C3
2021-04-13 -
2021-07-06
3 months crt.sh
static.smarthint.co
Sectigo RSA Domain Validation Secure Server CA
2021-01-28 -
2022-01-28
a year crt.sh
*.us.criteo.com
DigiCert TLS Hybrid ECC SHA384 2020 CA1
2021-03-26 -
2021-06-23
3 months crt.sh
*.criteo.com
DigiCert TLS Hybrid ECC SHA384 2020 CA1
2021-04-14 -
2021-07-12
3 months crt.sh
search.smarthint.co
Sectigo RSA Domain Validation Secure Server CA
2020-06-30 -
2022-10-02
2 years crt.sh
sni.cloudflaressl.com
Cloudflare Inc ECC CA-3
2021-03-01 -
2022-02-28
a year crt.sh

This page contains 5 frames:

Primary Page: https://www.casadopapel.com.br/
Frame ID: 259C047E94917B4C8760E33251F18FBB
Requests: 193 HTTP requests in this frame

Frame: https://mcasproxy.azureedge.net/proxyweb/0.199.30/html/session-context-restore.html?action=store&contextData=https%3A%2F%2Finformativocdp.com.br%2F
Frame ID: EE3DB1E91E9559975BBF4EEF4192240C
Requests: 2 HTTP requests in this frame

Frame: https://bid.g.doubleclick.net/xbbe/pixel?d=KAE
Frame ID: C2FC66F9C3880405ADC6F085D72ABBE8
Requests: 1 HTTP requests in this frame

Frame: https://gum.criteo.com/syncframe?topUrl=www.casadopapel.com.br&origin=onetag
Frame ID: AFD5476DB1B307A6ADF445A14C2064C8
Requests: 1 HTTP requests in this frame

Frame: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Frame ID: 453B2A683EE6A349306A125E15E2EBCF
Requests: 26 HTTP requests in this frame

Screenshot


Page URL History Show full URLs

  1. https://informativocdp.com.br.admin-eu.cas.ms/ Page URL
  2. https://informativocdp.com.br/ HTTP 302
    http://www.casadopapel.com.br/ HTTP 302
    https://www.casadopapel.com.br/ Page URL

Detected technologies

Overall confidence: 100%
Detected patterns
  • headers server /openresty(?:\/([\d.]+))?/i

Overall confidence: 100%
Detected patterns
  • headers server /openresty(?:\/([\d.]+))?/i

Overall confidence: 100%
Detected patterns
  • headers server /openresty(?:\/([\d.]+))?/i

Overall confidence: 100%
Detected patterns
  • script /\/\/connect\.facebook\.net\/[^/]*\/[a-z]*\.js/i

Overall confidence: 100%
Detected patterns
  • script /google-analytics\.com\/(?:ga|urchin|analytics)\.js/i
  • script /google-analytics\.com\/plugins\/ua\/(?:ec|ecommerce)\.js/i

Overall confidence: 100%
Detected patterns
  • script /google-analytics\.com\/plugins\/ua\/(?:ec|ecommerce)\.js/i

Page Statistics

222
Requests

100 %
HTTPS

58 %
IPv6

24
Domains

33
Subdomains

30
IPs

6
Countries

4674 kB
Transfer

9103 kB
Size

5
Cookies

Page URL History

This captures the URL locations of the websites, including HTTP redirects and client-side redirects via JavaScript or Meta fields.

  1. https://informativocdp.com.br.admin-eu.cas.ms/ Page URL
  2. https://informativocdp.com.br/ HTTP 302
    http://www.casadopapel.com.br/ HTTP 302
    https://www.casadopapel.com.br/ Page URL

Redirected requests

There were HTTP redirect chains for the following requests:

Request Chain 172
  • https://sslwidget.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529 HTTP 302
  • https://widget.us.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529
Request Chain 183
  • https://www.casadopapel.com.br/Profile/AccountWishlist/GetOrCreateDefault HTTP 302
  • https://www.casadopapel.com.br/login?url=/Profile/AccountWishlist/GetOrCreateDefault

222 HTTP transactions

Resource
Path
Size
x-fer
Type
MIME-Type
/
informativocdp.com.br.admin-eu.cas.ms/
1 KB
840 B
Document
General
Full URL
https://informativocdp.com.br.admin-eu.cas.ms/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
51.105.164.234 Amsterdam, Netherlands, ASN8075 (MICROSOFT-CORP-MSN-AS-BLOCK, US),
Reverse DNS
Software
openresty /
Resource Hash
81b9fb21408062ff70ad5cc8406539a492f4bb221891a773e68777941785d5a3
Security Headers
Name Value
Strict-Transport-Security max-age=31536000

Request headers

:method
GET
:authority
informativocdp.com.br.admin-eu.cas.ms
:scheme
https
:path
/
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site
none
sec-fetch-mode
navigate
sec-fetch-user
?1
sec-fetch-dest
document
accept-encoding
gzip, deflate, br
accept-language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

content-type
text/html; charset=utf-8
server
openresty
date
Tue, 11 May 2021 04:50:22 GMT
x-mcas-request-id
2e72e5909fc7d1bfda3d348205c9aa57
strict-transport-security
max-age=31536000
expires
Mon, 01-Jan-1990 00:00:00 GMT
cache-control
max-age=0, no-cache, no-store
pragma
no-cache
x-mcas-upstream-time
n/a
x-mcas-processing-time
1
content-encoding
gzip
x-mcas-cache-status
MISS
session-context-store-helper.min.js
mcasproxy.azureedge.net/proxyweb/0.199.30/js/
5 KB
5 KB
Script
General
Full URL
https://mcasproxy.azureedge.net/proxyweb/0.199.30/js/session-context-store-helper.min.js
Requested by
Host: informativocdp.com.br.admin-eu.cas.ms
URL: https://informativocdp.com.br.admin-eu.cas.ms/
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2a02:26f0:64::210:6bb9 Frankfurt am Main, Germany, ASN20940 (AKAMAI-ASN1, NL),
Reverse DNS
Software
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 /
Resource Hash
b3d9a37c3110d0d5edf534a4dd964bb85d8661820e4c39e4c63c96bd2813b726

Request headers

Referer
https://informativocdp.com.br.admin-eu.cas.ms/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
date
Tue, 11 May 2021 04:50:22 GMT
last-modified
Sun, 25 Apr 2021 09:30:17 GMT
server
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
content-md5
npsIWjlCWsd9fFNnNdaKMw==
etag
0x8D907CCBCE49DA3
content-type
application/javascript
access-control-allow-origin
*
x-ms-request-id
faf88c0d-801e-008c-5638-3a198f000000
access-control-expose-headers
x-ms-request-id,Server,x-ms-version,Content-Type,Cache-Control,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-blob-type,Content-Length,Date,Transfer-Encoding
cache-control
public, max-age=3485
x-ms-version
2009-09-19
content-length
4994
session-context-restore.html
mcasproxy.azureedge.net/proxyweb/0.199.30/html/ Frame EE3D
281 B
727 B
Document
General
Full URL
https://mcasproxy.azureedge.net/proxyweb/0.199.30/html/session-context-restore.html?action=store&contextData=https%3A%2F%2Finformativocdp.com.br%2F
Requested by
Host: mcasproxy.azureedge.net
URL: https://mcasproxy.azureedge.net/proxyweb/0.199.30/js/session-context-store-helper.min.js
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2a02:26f0:64::210:6bb9 Frankfurt am Main, Germany, ASN20940 (AKAMAI-ASN1, NL),
Reverse DNS
Software
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 /
Resource Hash
d593eab937ae208334c866b7afc56b0703787c857dae8bb562aefbbd3ca15ee6

Request headers

:method
GET
:authority
mcasproxy.azureedge.net
:scheme
https
:path
/proxyweb/0.199.30/html/session-context-restore.html?action=store&contextData=https%3A%2F%2Finformativocdp.com.br%2F
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site
cross-site
sec-fetch-mode
navigate
sec-fetch-dest
iframe
referer
https://informativocdp.com.br.admin-eu.cas.ms/
accept-encoding
gzip, deflate, br
accept-language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Referer
https://informativocdp.com.br.admin-eu.cas.ms/

Response headers

content-length
281
content-type
text/html
content-md5
vDuuGHIdcY/gQtnraxH9qw==
last-modified
Sun, 25 Apr 2021 09:26:20 GMT
etag
0x8D907CC2FCC987A
server
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id
e2cffc70-401e-00f7-5338-3a723f000000
x-ms-version
2009-09-19
x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
access-control-expose-headers
x-ms-request-id,Server,x-ms-version,Content-Type,Cache-Control,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-blob-type,Content-Length,Date,Transfer-Encoding
access-control-allow-origin
*
cache-control
public, max-age=2774
date
Tue, 11 May 2021 04:50:22 GMT
session-context-restore.min.js
mcasproxy.azureedge.net/proxyweb/0.199.30/js/ Frame EE3D
64 KB
65 KB
Script
General
Full URL
https://mcasproxy.azureedge.net/proxyweb/0.199.30/js/session-context-restore.min.js
Requested by
Host: mcasproxy.azureedge.net
URL: https://mcasproxy.azureedge.net/proxyweb/0.199.30/html/session-context-restore.html?action=store&contextData=https%3A%2F%2Finformativocdp.com.br%2F
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2a02:26f0:64::210:6bb9 Frankfurt am Main, Germany, ASN20940 (AKAMAI-ASN1, NL),
Reverse DNS
Software
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 /
Resource Hash
6d6a6a7549df79275ef415ba50f979f9b2da8663e174a62a0e4030022ba9acad

Request headers

Referer
https://mcasproxy.azureedge.net/proxyweb/0.199.30/html/session-context-restore.html?action=store&contextData=https%3A%2F%2Finformativocdp.com.br%2F
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
date
Tue, 11 May 2021 04:50:22 GMT
last-modified
Sun, 25 Apr 2021 09:30:16 GMT
server
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
content-md5
F1ttwOaWglR5SfRGFzgA5Q==
etag
0x8D907CCBC9C8B7C
content-type
application/javascript
access-control-allow-origin
*
x-ms-request-id
faf88e04-801e-008c-0338-3a198f000000
access-control-expose-headers
x-ms-request-id,Server,x-ms-version,Content-Type,Cache-Control,Last-Modified,ETag,Content-MD5,x-ms-lease-status,x-ms-blob-type,Content-Length,Date,Transfer-Encoding
cache-control
public, max-age=2947
x-ms-version
2009-09-19
content-length
66024
Primary Request /
www.casadopapel.com.br/
Redirect Chain
  • https://informativocdp.com.br/?
  • http://www.casadopapel.com.br/
  • https://www.casadopapel.com.br/
962 KB
85 KB
Document
General
Full URL
https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
d9bfbc20c968d9573def9bd4dce8fb85d4175e4a3466e178e4ab6c6c426c2f2c
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

:method
GET
:authority
www.casadopapel.com.br
:scheme
https
:path
/
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site
cross-site
sec-fetch-mode
navigate
sec-fetch-dest
document
accept-encoding
gzip, deflate, br
accept-language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:24 GMT
content-type
text/html; charset=utf-8
content-length
86320
cache-control
public,max-age=1200,s-maxage=21600
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-security-policy
upgrade-insecure-requests
referrer-policy
no-referrer-when-downgrade
expect-ct
max-age=31536000, enforce
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-frame-options
sameorigin
x-xss-protection
1; mode=block
x-content-type-options
nosniff
etag
W/1620707854
content-encoding
gzip
vary
Accept-Encoding
accept-ranges
bytes
server
SecurityCore

Redirect headers

Content-Type
text/html; charset=utf-8
Location
https://www.casadopapel.com.br/
Content-Security-Policy
upgrade-insecure-requests
Expect-CT
max-age=31536000, enforce
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
X-Frame-Options
sameorigin
X-XSS-Protection
1; mode=block
X-Content-Type-Options
nosniff
Cache-Control
private,no-cache,no-store,no-transform,must-revalidate,max-age=0
Pragma
no-cache
Content-Encoding
gzip
Vary
Accept-Encoding
Content-Length
133
Connection
keep-alive
scs.css
d2rx7920ojogr7.cloudfront.net/assets/
289 KB
52 KB
Stylesheet
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/assets/scs.css?t=637562606614219751
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
f6aae66a0317cbc4e30ad86aea61b62c05f66fb744c6b46497aa5b9904b62d8e
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 17:21:57 GMT
content-encoding
gzip
vary
Accept-Encoding
age
41307
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
52366
x-xss-protection
1; mode=block
etag
W/1620667318
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
text/css
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
11-PenKGh_zuPMAN5x8MXjG22XKaVCat-YAXuU991w5ZZbSLuPKnAw==
asset.axd
d2rx7920ojogr7.cloudfront.net/
1 MB
115 KB
Stylesheet
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
cdffa6e591a49a2958aafda3650aaaab98598bd3c6d177800277248f4c26ab38
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 17:22:31 GMT
content-encoding
gzip
vary
Accept-Encoding
age
41273
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
117113
x-xss-protection
1; mode=block
etag
1620667351
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
text/css
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
niPvPCuqLpAtgSypRNWtTj49cjw98f4mG8lB-KCSo07WvhZTgQ9acw==
shjs.js
d2rx7920ojogr7.cloudfront.net/assets/
96 KB
34 KB
Script
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
cf50a8cbd0aff0aced5a1df7eb256da3b157ca8b249601a2672d068b32df9612
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 17:22:30 GMT
content-encoding
gzip
vary
Accept-Encoding
age
41274
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
34371
x-xss-protection
1; mode=block
etag
W/1620667351
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
application/javascript
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
rwACl3f1c5BpX1TUcfkeWTo74HYOPvCPtlxjF9LZ88OUNNLynC8QSQ==
browsing_context
www.casadopapel.com.br/widgetJavaScript/
3 KB
2 KB
Script
General
Full URL
https://www.casadopapel.com.br/widgetJavaScript/browsing_context?Template=script.template
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
7de342003cb769c577e917c9e7fcadf7616cb5ddc00431dc0b0631774c86e82c
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

:path
/widgetJavaScript/browsing_context?Template=script.template
pragma
no-cache
accept-encoding
gzip, deflate, br
accept-language
en-US
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
sec-fetch-mode
no-cors
accept
*/*
cache-control
no-cache
sec-fetch-dest
script
:authority
www.casadopapel.com.br
referer
https://www.casadopapel.com.br/
:scheme
https
sec-fetch-site
same-origin
:method
GET
Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:24 GMT
content-encoding
gzip
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-length
1000
x-xss-protection
1; mode=block
pragma
no-cache
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
x-frame-options
sameorigin
expect-ct
max-age=31536000, enforce
vary
Accept-Encoding
content-type
text/javascript; charset=utf-8
cache-control
private,no-cache,no-store,no-transform,must-revalidate,max-age=0
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
set-cookie
lcsid=hqf2fiseqirdkevrv0wk5dfh; domain=casadopapel.com.br; path=/; secure; SameSite=Lax Vary-Cookie=WS166CS1WH1PL1CF0V1; path=/; secure
accept-ranges
bytes
whatsapp-icon.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
5 KB
6 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/whatsapp-icon.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
47b5658d7fcff642aa8971474a52a2125183164c0ded6142cefde0632950576b
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578006
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
5537
X-XSS-Protection
1; mode=block
space.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
1 KB
2 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/space.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
720e7255e81b09bf23cf8c2a36db02a76493b1bffb7574883721780001d007a3
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581858
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
1056
X-XSS-Protection
1; mode=block
icon-facebook1.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
741 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-facebook1.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
90c779d2e574b7a963c02a5a20a66511a56841af363e5467e64e73c71b17fe54
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578138
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
741
X-XSS-Protection
1; mode=block
icon-instagram1.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
829 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-instagram1.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
8f496ca30a71d76b16ad3fcc919074782d80f3337821dc11d4590c9aa7150311
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581879
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
829
X-XSS-Protection
1; mode=block
icon-youtube1.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
669 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-youtube1.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
d7067a57686e9c5f348b2a5bc3a356031526d98dfdee73fefc95747f026b1193
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578138
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
669
X-XSS-Protection
1; mode=block
icon-tiktok1.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
739 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-tiktok1.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
a7600b2c4496cc72b26bf9a7be6a656e78b8d858bd6e3956b71c8fffc4d3a4a1
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581860
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
739
X-XSS-Protection
1; mode=block
icon-pinterest1.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
844 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-pinterest1.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
47d4c6c2526984e8d6285b5ce69930a4083b891c6b499117a794c7dd4f03e656
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581911
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
844
X-XSS-Protection
1; mode=block
sdk.js
connect.facebook.net/en_US/
3 KB
2 KB
Script
General
Full URL
https://connect.facebook.net/en_US/sdk.js
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f01c:8012:face:b00c:0:3 Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
/
Resource Hash
9f5b24e5c853e89c63788ee9737e4adab46caa801fcb7f8d24936a5baa7102f8
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=31536000; preload; includeSubDomains
content-encoding
gzip
x-content-type-options
nosniff
content-md5
vpG9jhCLzmuRjjqI6uUZkw==
cross-origin-resource-policy
cross-origin
expires
Tue, 11 May 2021 04:54:04 GMT
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
content-length
1779
x-fb-rlafr
0
x-fb-debug
R9Dfzg3lLGfCIzKbJalBeFIJk981Djo6TgHM9dGzIzompQmTn3BGwNHjwnVxOBhvUPvH/163fc4CUKbsNpzYyQ==
x-fb-trip-id
2050670934
x-fb-content-md5
be75319e16e62a9ca2a783f502226ce1
date
Tue, 11 May 2021 04:50:24 GMT
x-frame-options
DENY
content-type
application/x-javascript; charset=utf-8
access-control-allow-origin
*
vary
Accept-Encoding
cache-control
public,max-age=1200,stale-while-revalidate=3600
etag
"663df2a33cd51755205afd366639fc9c"
timing-allow-origin
*
access-control-expose-headers
X-FB-Content-MD5
css
fonts.googleapis.com/
8 KB
1 KB
Stylesheet
General
Full URL
https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:82f::200a Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
ESF /
Resource Hash
7288efb435748f13922a9249655efc6fdbde8a5664c0cd80ecc3d9be4eabf407
Security Headers
Name Value
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options SAMEORIGIN
X-Xss-Protection 0

Request headers

Referer
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=31536000
content-encoding
gzip
x-content-type-options
nosniff
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
x-xss-protection
0
last-modified
Tue, 11 May 2021 03:57:34 GMT
server
ESF
date
Tue, 11 May 2021 04:50:24 GMT
x-frame-options
SAMEORIGIN
content-type
text/css; charset=utf-8
access-control-allow-origin
*
cache-control
private, max-age=86400, stale-while-revalidate=604800
timing-allow-origin
*
link
<https://fonts.gstatic.com>; rel=preconnect; crossorigin
expires
Tue, 11 May 2021 04:50:24 GMT
tfa.js
cdn.taboola.com/libtrc/unip/1337616/
65 KB
22 KB
Script
General
Full URL
https://cdn.taboola.com/libtrc/unip/1337616/tfa.js
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
199.232.137.44 Frankfurt am Main, Germany, ASN54113 (FASTLY, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
7f4937b5a0a9875f83a607ab71e9939a03e9ee2fa4269d55ffc22ca305364703

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-amz-version-id
7gyeqDFBdg6qpOWB3i7Y5ZVIyChupo43
content-encoding
gzip
etag
"13813647fd3d276f986da880cd240488"
age
0
x-cache
HIT
x-amz-replication-status
COMPLETED
content-length
22290
x-amz-id-2
KTvc5P8i+VEsJcefHrVk43ZYJUsafzERcU/L57iUXYQU0HXrNIFFL+tHuLwQQLwQ+KCacAffRDY=
x-served-by
cache-hhn11563-HHN
last-modified
Tue, 04 May 2021 16:31:53 GMT
server
AmazonS3
x-timer
S1620708625.511944,VS0,VE101
date
Tue, 11 May 2021 04:50:24 GMT
vary
Accept-Encoding
x-amz-request-id
MZNN5AJ6XABK5QBR
via
1.1 varnish
cache-control
private,max-age=14401
accept-ranges
bytes
content-type
application/javascript; charset=utf-8
abp
71
x-cache-hits
1
logo.png
www.supriagora.com.br//Custom/Content/Themes/HardCore/imagens/
3 KB
4 KB
Image
General
Full URL
https://www.supriagora.com.br//Custom/Content/Themes/HardCore/imagens/logo.png?v=6
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
9654f1ce14add96952ea817a42750b5ed8fb56519ece8bc22c8315aefe80b42b
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://d2rx7920ojogr7.cloudfront.net/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:24 GMT
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
etag
1620692680
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
image/png
access-control-allow-origin
*
cache-control
public,max-age=604800,s-maxage=2592000
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
strict-transport-security
max-age=31536000; includeSubDomains; preload
accept-ranges
bytes
content-length
3200
x-xss-protection
1; mode=block
JTURjIg1_i6t8kCHKm45_ZpC3gnD_g.woff2
fonts.gstatic.com/s/montserrat/v15/
19 KB
19 KB
Font
General
Full URL
https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_ZpC3gnD_g.woff2
Requested by
Host: fonts.googleapis.com
URL: https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:830::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
965574e97c29813feaa62a0a149731306ee4725e027603b937905375d3121c89
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://fonts.googleapis.com/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sun, 09 May 2021 10:03:38 GMT
x-content-type-options
nosniff
last-modified
Tue, 15 Sep 2020 18:11:03 GMT
server
sffe
age
154006
content-type
font/woff2
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19272
x-xss-protection
0
expires
Mon, 09 May 2022 10:03:38 GMT
sprite.svg
d2rx7920ojogr7.cloudfront.net/custom/content/themes/HardCore/img/
108 KB
44 KB
Image
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/custom/content/themes/HardCore/img/sprite.svg?v=14
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
677235bd94be06bc66c3d707f67ccae274c4797d4a0c848de391eb8e6d34ec5e
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 00:11:05 GMT
content-encoding
gzip
vary
Accept-Encoding
age
448759
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
44623
x-xss-protection
1; mode=block
etag
W/1620259866
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
image/svg+xml
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
u-EyAX-a_5-ie4XXd5EEE-5nzXkIj3B9BbWv5w6eOKN0OwyHu2x5Rw==
JTUSjIg1_i6t8kCHKm459Wlhyw.woff2
fonts.gstatic.com/s/montserrat/v15/
19 KB
19 KB
Font
General
Full URL
https://fonts.gstatic.com/s/montserrat/v15/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2
Requested by
Host: fonts.googleapis.com
URL: https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:830::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
8767f01caa430c5bd4e3b008a8e9dfe022156a4e91a23c394fdcb05c267f1b94
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://fonts.googleapis.com/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 22:04:12 GMT
x-content-type-options
nosniff
last-modified
Tue, 15 Sep 2020 18:11:52 GMT
server
sffe
age
542772
content-type
font/woff2
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19172
x-xss-protection
0
expires
Wed, 04 May 2022 22:04:12 GMT
JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2
fonts.gstatic.com/s/montserrat/v15/
19 KB
19 KB
Font
General
Full URL
https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2
Requested by
Host: fonts.googleapis.com
URL: https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:830::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
4545eb1dec25fe868d19dc292d417d8a9e41c0276d75a4eaf524a9db21aa705a
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://fonts.googleapis.com/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sun, 09 May 2021 04:11:30 GMT
x-content-type-options
nosniff
last-modified
Tue, 15 Sep 2020 18:10:46 GMT
server
sffe
age
175134
content-type
font/woff2
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19480
x-xss-protection
0
expires
Mon, 09 May 2022 04:11:30 GMT
JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2
fonts.gstatic.com/s/montserrat/v15/
19 KB
19 KB
Font
General
Full URL
https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2
Requested by
Host: fonts.googleapis.com
URL: https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:830::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
d10e701c44ab739c7d711b6483def0c6cd47e5a3d04eda1df2c5cbb08f21d81a
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://fonts.googleapis.com/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 23:40:58 GMT
x-content-type-options
nosniff
last-modified
Tue, 15 Sep 2020 18:13:07 GMT
server
sffe
age
18566
content-type
font/woff2
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19264
x-xss-protection
0
expires
Tue, 10 May 2022 23:40:58 GMT
JTURjIg1_i6t8kCHKm45_c5H3gnD_g.woff2
fonts.gstatic.com/s/montserrat/v15/
19 KB
19 KB
Font
General
Full URL
https://fonts.gstatic.com/s/montserrat/v15/JTURjIg1_i6t8kCHKm45_c5H3gnD_g.woff2
Requested by
Host: fonts.googleapis.com
URL: https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:830::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
5a8c623b34dcf729895c3bc9b6e261796bbad69555a21ad6d2f9b4e7bc27b6e7
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://fonts.googleapis.com/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 07:06:02 GMT
x-content-type-options
nosniff
last-modified
Tue, 15 Sep 2020 18:11:08 GMT
server
sffe
age
423862
content-type
font/woff2
access-control-allow-origin
*
cache-control
public, max-age=31536000
accept-ranges
bytes
timing-allow-origin
*
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19440
x-xss-protection
0
expires
Fri, 06 May 2022 07:06:02 GMT
sem-foto.gif
d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Images/
16 KB
16 KB
Image
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Images/sem-foto.gif
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
ba9fb7c6bb2bd700401f321df9dd4a2319fc28450016aa099d2ab01a35011b7d
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sun, 09 May 2021 00:15:21 GMT
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
age
189303
x-cache
Hit from cloudfront
content-length
16088
x-xss-protection
1; mode=block
etag
1620519321
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
image/gif
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
3AJktXoFkFqrE1hmcw9pTF9PJFlwF_gV8CK57trM-VaM2YcMGet4jQ==
sdk.js
connect.facebook.net/en_US/
213 KB
63 KB
Script
General
Full URL
https://connect.facebook.net/en_US/sdk.js?hash=5d105769145ee6776e75b36154aae479&ua=modern_es6
Requested by
Host: connect.facebook.net
URL: https://connect.facebook.net/en_US/sdk.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a03:2880:f01c:8012:face:b00c:0:3 Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
/
Resource Hash
e20d81600d62d55b9a5dcba37eaa87f893361e8729ec6dc29fd163198d65a3ff
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=31536000; preload; includeSubDomains
content-encoding
gzip
x-content-type-options
nosniff
content-md5
kWCZ55jBvrGhGJ8vIv2dfg==
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
content-length
64513
x-fb-rlafr
0
x-fb-debug
1d5xo8elaZrv/WwmIQBvGVt3hpgeVb8D8Gj7RaO6+ePJCrjoAndyw4Ndu7eBa0DXg8V67YRUthOUhpfYXFcAXg==
x-fb-content-md5
aa13388186535f180fa5dd00215461cc
x-frame-options
DENY
date
Tue, 11 May 2021 04:50:24 GMT
vary
Accept-Encoding
content-type
application/x-javascript; charset=utf-8
access-control-allow-origin
*
access-control-expose-headers
X-FB-Content-MD5
cache-control
public,max-age=31536000,stale-while-revalidate=3600,immutable
etag
"99707fc5c9bb8dd78c9b534f904a8fe7"
timing-allow-origin
*
priority
u=3,i
expires
Wed, 11 May 2022 02:35:26 GMT
1019518_arquivo-morto-papelao-c34cm-x-l13cm-x-a24cm-pequeno-cdp-10-unidades_s5_637276237541124251.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/19/
24 KB
24 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/19/1019518_arquivo-morto-papelao-c34cm-x-l13cm-x-a24cm-pequeno-cdp-10-unidades_s5_637276237541124251.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
36ace827af753c9fe0df0ddfe38eb0ebdbf2d8f4140de515548e35d5ee1a43a0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 19:45:47 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 08:42:35 GMT
server
AmazonS3
age
378278
etag
"8454357e0427aaac70fac48242bbae94"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
24503
x-amz-cf-id
Eh6MQALoPwvicFbRRkTOt_S7sVoZ2LrKMclTCwGvLhJmUiLz_MKx3Q==
1211391_fita-adesiva-pp-48mmx20m-com-dispenser-uzee_s7_637500953419559032.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/11/
14 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/11/1211391_fita-adesiva-pp-48mmx20m-com-dispenser-uzee_s7_637500953419559032.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
88e72accb0d1a4e3f448819ddb534a10f026708656621cca88cfc3172e9f39af

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:44 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 10:49:03 GMT
server
AmazonS3
age
49241
etag
"a11941555f0b649caa794daf34faecad"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14634
x-amz-cf-id
7mWN_9Tb-P_iRbxHrwAw1QQwOK3v2ECv-E9l5FlgfRmCcWv9YJ7kuA==
990173_fragmentadora-multilaser-127v-preta_s10_637277685180177080.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/01/
16 KB
16 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/01/990173_fragmentadora-multilaser-127v-preta_s10_637277685180177080.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
d6b2f723ade145d8d656709e3e4f617c70510de2e920b06c10f981e86f509a7c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 13:20:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 00:55:19 GMT
server
AmazonS3
age
574182
etag
"41d7b196fa631df9716cd97f8f4445e3"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
15998
x-amz-cf-id
ekteu5ffGpmv5UPaYf9k4VMNGFqjAHzt83TDWNBy3PHAdqYTofRTog==
1158514_bloco-recado-adesivo-removivel-75mmx100mm-100-folhas-neon-amarelo-uzee_s3_637510406172301349.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/58/
33 KB
34 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/58/1158514_bloco-recado-adesivo-removivel-75mmx100mm-100-folhas-neon-amarelo-uzee_s3_637510406172301349.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
ae50c41a9331bcdfa892f8a9c92d1c5097ded0bd9de4352ca3dd365caeef6f64

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 11 Mar 2021 09:23:38 GMT
server
AmazonS3
age
402832
etag
"7e32582a30838ef028638dbc41c71734"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
34166
x-amz-cf-id
CezLchsNUD1wE9JtsVog66cz-4FbASa5fZnml26KWKWfw-g5SImLkA==
986288_quadro-feltro-economico-90cmx120cm-madeira-cortiarte-verde_s6_637534597224094959.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/62/
22 KB
22 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/62/986288_quadro-feltro-economico-90cmx120cm-madeira-cortiarte-verde_s6_637534597224094959.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
c896a7a8425674dbe71deb60125749e366f4724cd7a3307b2cbfdd47fa7a2685

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 08 Apr 2021 09:22:03 GMT
server
AmazonS3
age
222042
etag
"f293fdf1126d48cb081dd9eb125edab4"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
22367
x-amz-cf-id
HjGDGxbD7ZVQ-31Wpk90li2g7Kv15La__HCYyW1ETMgXuFjBY6JO5w==
1142273_prendedor-de-papel-mola-15mm-preto-12-un_s3_637161625094329936.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/42/
19 KB
19 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/42/1142273_prendedor-de-papel-mola-15mm-preto-12-un_s3_637161625094329936.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
04356aad80f43e9eb3d559cd56be26612c9e9a4f658b785fc65db15e983f5725

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 19:45:47 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 01 Feb 2020 17:01:50 GMT
server
AmazonS3
age
378278
etag
"2468522070da4239819ad306b2ac24ab"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
19589
x-amz-cf-id
vbNEfzLVl20fwVRrrVjUbadZ4ZT7obQPpnghvrdvBXsjBWafxQTpQA==
990989_grampeador-metal-30-folhas-lyke-lo101-292-26-6_s7_637276353708776952.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/09/
22 KB
22 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/09/990989_grampeador-metal-30-folhas-lyke-lo101-292-26-6_s7_637276353708776952.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e9b82f9f7afa4decbc27484d678e017b543643456837c455cb70f4bb96cbd00a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 19:45:48 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 11:56:11 GMT
server
AmazonS3
age
378277
etag
"dbd85cae692b90daa5cc85f5b7a3eeb3"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
22225
x-amz-cf-id
EsmGlfuOxDWs6o7mFKWH8E1ESZzt2F-xn62z0z97KySsCQn-AOh5cg==
1028092_caixa-organizadora-de-objetos-dello-rosa-claro_s2_637274744804881908.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/28/
16 KB
17 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/28/1028092_caixa-organizadora-de-objetos-dello-rosa-claro_s2_637274744804881908.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e41ce338f36291b992eeb739a42835071abf31e8cd6cc532f0af10dc5cd2a0ab

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 11 Jun 2020 15:14:41 GMT
server
AmazonS3
age
402831
etag
"33cc8d8ebdd5d2bcbb34ee929c3a2117"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
16587
x-amz-cf-id
tO8m2B41fg8cmOzS3LLLwRoxftXwKKRfcfJSJKv-vFQudM-LXKgZ4Q==
1221397_kit-tie-dye-aquarela-silk-acrilex_s16_637499645560579313.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/
30 KB
30 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/1221397_kit-tie-dye-aquarela-silk-acrilex_s16_637499645560579313.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a986193bee4bc8053c48dfdcd7aebf6201da89d83f2030421bf5314eb9e867fb

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:45 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 22:29:17 GMT
server
AmazonS3
age
49240
etag
"15ecb2c75e45d2fee67a13d659b2a3a2"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
30725
x-amz-cf-id
ChQVQu1i2Zv3kwj-Q66qa4_-e7qrbsjSqXunKWmMPJhkPed5pXpLQQ==
1228258_caderno-universitario-capa-dura-01-materia-80-folhas-tilibra-stranger-things-21-4_s16_637500928118159074.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
34 KB
34 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228258_caderno-universitario-capa-dura-01-materia-80-folhas-tilibra-stranger-things-21-4_s16_637500928118159074.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
44abb3ee4f182bf03c11579ed236efe2eaa1a907b3be5f8e75acdf47d3667dce

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 10:06:52 GMT
server
AmazonS3
age
402831
etag
"eb0467da6fe7380c6a75ff652cbf14c5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
34531
x-amz-cf-id
a29K3Cl9gCxE1H3PdnwhRRLPTi1kWaRRq4vzeReDin3NajA3ls4oFg==
1022673_lapis-de-cor-12-cores-triangular-mega-tris-soft-color-tons-de-pele_s6_637276272731949571.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/22/
22 KB
22 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/22/1022673_lapis-de-cor-12-cores-triangular-mega-tris-soft-color-tons-de-pele_s6_637276272731949571.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
67de6759572ceaaf206d42fcc55011526c76a5843a9600ca9298a8c846869801

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 09:41:14 GMT
server
AmazonS3
age
314395
etag
"74d74a91a57fa8cd33ce9ab17c4feb7f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
22348
x-amz-cf-id
AWguAuI7zIjtu69HFEMrKb1sVCcfQxErMj5GtRJhMSWenvKdnDvjIQ==
1227645_caderno-universitario-capa-dura-01-materia-80-folhas-tilibra-now-united-21-4_s29_637500747849859447.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/
49 KB
49 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/1227645_caderno-universitario-capa-dura-01-materia-80-folhas-tilibra-now-united-21-4_s29_637500747849859447.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
37d2e0c8778151de93c99249e274313f83be66b3a25a91cd296e443c10b2c528

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 05:06:26 GMT
server
AmazonS3
age
402831
etag
"4cd6420355cd4406f46bc7dd441d810e"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
50052
x-amz-cf-id
7hAFhx80alnfVWGkMynIAAW0vQ76ib8Ns2I7dmMq-cKhHGph3oM3Jw==
1022899_pasta-aba-e-elastico-pp-oficio-240mmx335mm-serena-rosa-pastel_s6_637274552830489661.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/22/
13 KB
14 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/22/1022899_pasta-aba-e-elastico-pp-oficio-240mmx335mm-serena-rosa-pastel_s6_637274552830489661.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
3ee5a2b6b1c12c328b14bec377b707e653d58925028807a10786a6247756be0d

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 11 Jun 2020 09:54:44 GMT
server
AmazonS3
age
402831
etag
"06d2d6618843d9849332b54def728d71"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13659
x-amz-cf-id
VVQ7KE5sDq1F5_xRXB1NpmzOOIea8I0RF-vS8EO_ibt1qWTOj-R7TA==
1219443_mochila-feminina-jovem-sem-roda-g-luxcel-stranger-things-br_s29_637501015533398801.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/
18 KB
19 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/1219443_mochila-feminina-jovem-sem-roda-g-luxcel-stranger-things-br_s29_637501015533398801.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a0b6d5fdf0d5996d6230dea58a2b7a7f253b06d71840c036279a101efc2945c6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 12:32:34 GMT
server
AmazonS3
age
402831
etag
"c2c27b9302f4e089930803a5ee2cd0c5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
18848
x-amz-cf-id
L23XKCCCdRHs4taDzxSaV86MjHODf753osbgP5EaeedXa9tbS197kw==
1207447_hidrocor-12-cores-faber-castell-06-06-tons-de-pele-caras-e-cores_s7_637499333021759842.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/
34 KB
34 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/1207447_hidrocor-12-cores-faber-castell-06-06-tons-de-pele-caras-e-cores_s7_637499333021759842.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
749ad6779da2318ceb66222ffc8d1fe2654751a0d29887c073d01c18239ae769

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Wed, 05 May 2021 12:33:12 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 13:48:23 GMT
server
AmazonS3
age
490633
etag
"c8273fd7d973b9d9481386e39cd68aec"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
34839
x-amz-cf-id
ZUnej5moGLHUZNBWEIIWctsve7HuXxcs5BrN8RwnTulBansVaUFJiw==
1227514_caderno-universitario-capa-dura-10-materias-160-folhas-tilibra-happy-21-1_s16_637500542697748209.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/1227514_caderno-universitario-capa-dura-10-materias-160-folhas-tilibra-happy-21-1_s16_637500542697748209.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
248185ed91b53f8b51ee3f8ad92c4332f254b4335ccc027bfe1a86a667538a22

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 23:24:30 GMT
server
AmazonS3
age
314395
etag
"f06e99417e52982c17450d1c8bef7c0d"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13083
x-amz-cf-id
LJqqC_jSdQkcRy5IZmel-Xw2KcjKQmQs-J_xfBK-YkMX45IK0C_fAQ==
992528_hidrocor-12-cores-likito_s9_637277891325077433.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/25/
35 KB
35 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/25/992528_hidrocor-12-cores-likito_s9_637277891325077433.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
af5ad892a6e22677b3c096bc3477fa77cb69302ff514bdab0be277dce214de56

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 06:38:53 GMT
server
AmazonS3
age
314395
etag
"880d469d8f68fb9410a9168649ccdd36"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
35658
x-amz-cf-id
uB-_uVXBlqBWyhQSDI8Dhi_IjPHiWz-4QtkEkV8XOOJV0trEXSeTog==
990725_tesoura-escolar-12cm-maped-start-sortida_s11_637328173016945353.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/07/
28 KB
29 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/07/990725_tesoura-escolar-12cm-maped-start-sortida_s11_637328173016945353.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
6e7c0ad0f65d6bb337ecd84e1623c1dc1d7a3d88ea7a4c01ecec4b9061e48db3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 12 Aug 2020 11:21:42 GMT
server
AmazonS3
age
314395
etag
"ea73b48b0b081e8a3ba21ddcbee8b4fd"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
29174
x-amz-cf-id
n8hOtCbEvQC44FtMabLluD_G7OY8nK6eKv_UBn0cmrrzcRYgdHayvA==
993085_tinta-guache-15ml-6-cores-acrilex-2020-2006_s16_637300453757370864.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/30/
41 KB
41 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/30/993085_tinta-guache-15ml-6-cores-acrilex-2020-2006_s16_637300453757370864.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
afa0058e63eab2db05b119d003dd12c6339920031eefa696c2cc6ea7a8afb0eb

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:46 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 11 Jul 2020 09:22:56 GMT
server
AmazonS3
age
49239
etag
"40243e7ee723a4a81b97b55ff9946b6c"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
41812
x-amz-cf-id
WovLnQXoXlB7b11q9ROQVlTRiTDHh70JJXRtmFsm3rDj4SdcWRKEgg==
990854_pasta-aba-e-elastico-pp-oficio-235mm-x-350mm-transparente-fume_s7_637276767489531451.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/08/
9 KB
10 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/08/990854_pasta-aba-e-elastico-pp-oficio-235mm-x-350mm-transparente-fume_s7_637276767489531451.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
d1a5809604d1c5926729de41fa103684174f87270cb6232e9bddea2d49d52392

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Wed, 05 May 2021 19:31:16 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:25:50 GMT
server
AmazonS3
age
465549
etag
"67f9231feb89a69981045f5b56e57cb5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
9608
x-amz-cf-id
BmwWWQy4gx3OKQJ9PRk-YUf2TrICo0i5fecXlvUJcegOpfv-KeyuGA==
990852_massa-de-modelar-amido-180g-12-cores-acrilex-soft-ref-7312_s7_637276767677839193.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/08/
34 KB
34 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/08/990852_massa-de-modelar-amido-180g-12-cores-acrilex-soft-ref-7312_s7_637276767677839193.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
1f84668587b370fd0e4a164fbba6b6751ad55eda21ae6d731ac23e4f3a77074e

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:46 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:26:08 GMT
server
AmazonS3
age
49239
etag
"0e5bea073b937a318b5c9ae36f17bc94"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
34776
x-amz-cf-id
_l8quy4N1KnAhCvP1bxQFpdDShDzjWj9yXhQ-SBxfMxWXw0475HB3Q==
991690_giz-de-cera-medio-fino-redondo-6-cores-acrilex_s8_637276794500275412.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/16/
30 KB
30 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/16/991690_giz-de-cera-medio-fino-redondo-6-cores-acrilex_s8_637276794500275412.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9b3af08df097f64a51ac638696ced1f010af3be31ec1e6d3525f269b0963beab

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:10:51 GMT
server
AmazonS3
age
314395
etag
"95b74d11e70f0b8ecfbdf4db60d89b46"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
30570
x-amz-cf-id
jar75Ut3YCilJkTXwn9CsH2M67BJa7i1S39dG0u2CNWcKvlomfrXUQ==
990087_cola-branca-liquida-40g-maxi-frama_s6_637276823843117119.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/00/
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/00/990087_cola-branca-liquida-40g-maxi-frama_s6_637276823843117119.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
dbc54a0d49a42da4ad91ca0b5248dda43da1815806fd7aad7c95a1bbd4ca1638

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:47 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:59:45 GMT
server
AmazonS3
age
49238
etag
"a06aecd6c6c1f5e6c4649320ff79c00b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10949
x-amz-cf-id
pxKRri3aaJ27qBihjur_sBTIGc78Fzwrg6WslsAVOQ8KPZl-u3OEdA==
992121_lapis-de-cor-12-cores-redondo-lyke-likito_s7_637276633965436862.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/21/
20 KB
21 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/21/992121_lapis-de-cor-12-cores-redondo-lyke-likito_s7_637276633965436862.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e5263de203293fef26bea08affbc85705b76d13f2f59211f5f4aeee6453b6135

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 19:43:17 GMT
server
AmazonS3
age
402831
etag
"5c07d3b49055643310b29bd92bdf2dd7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
20742
x-amz-cf-id
ac4gnTbXBxA4cIntx4oihlCUNAoHUYUhsN5SCQ3QBY4zMbZVlsRhRw==
1225151_lapis-de-cor-72-cores-sextavado-ecolapis-faber-castell-120172g_s7_637500329398863363.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/
33 KB
33 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/1225151_lapis-de-cor-72-cores-sextavado-ecolapis-faber-castell-120172g_s7_637500329398863363.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a936f0ad60ee894574cbc1c6db69be26e54e0e862c43b512e8e3ec5e52ded42f

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 17:29:00 GMT
server
AmazonS3
age
266716
etag
"19bc3c915841bed7bebe8f3c92feadd7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
33654
x-amz-cf-id
NLH3VGEf9JiokT4c3eIeeQ8KpBnm8MsWEZNhvCzHBtxUvatHeqiQWw==
1045274_marcador-ponta-pincel-super-brush-uzee-12-cores_s13_637500951514327424.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/45/
38 KB
38 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/45/1045274_marcador-ponta-pincel-super-brush-uzee-12-cores_s13_637500951514327424.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
938d28da5e3cf6f17307cd3fe8751c2395fd23565cddd753a4589a539671b84b

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 10:45:52 GMT
server
AmazonS3
age
314395
etag
"60712d9e3247a3a27498ea17893e0c7d"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
38431
x-amz-cf-id
D2i6IQJ8WHVyPjpy4TvvuTLu_FFAZ59SWyl3PGHugJS3GWNFxPjgpQ==
992533_mesa-de-desenho-tubular-tampo-com-formica-100cm-x-80cm-tub-14g-bp-trident_s8_637277802389321141.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/25/
12 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/25/992533_mesa-de-desenho-tubular-tampo-com-formica-100cm-x-80cm-tub-14g-bp-trident_s8_637277802389321141.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
394ed419dc3d28b232a95fd56c963e7fae11eced9769f29a40b1e212b79e6f84

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 04:10:40 GMT
server
AmazonS3
age
314395
etag
"011d472f102e29e4638aba79156da4cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
12746
x-amz-cf-id
hzug3fk0HunNC3wvNaA_6iswpo2SlrSkMtaabh7oQwPQ6yaSYGmYdw==
1203786_caneta-porosa-0-4mm-uni-emott-estojo-40-cores_s25_637275865218743292.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/03/
14 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/03/1203786_caneta-porosa-0-4mm-uni-emott-estojo-40-cores_s25_637275865218743292.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
b218faae41513967e3178b05ba3c509e54319c514f8d1a3e208c4f1433c7da99

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:47 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 22:22:02 GMT
server
AmazonS3
age
49238
etag
"2bed5b0107b5fba097a9cf7167164e4f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14499
x-amz-cf-id
O780ujV8L7z656w8hgZanxI-GnAi0-oqlVoQZopYlNhtA5rzjU3tQg==
993459_bloco-a4-aquarela-com-12-folhas-300g-canson-mix-media_s8_637277450567255881.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/34/
33 KB
34 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/34/993459_bloco-a4-aquarela-com-12-folhas-300g-canson-mix-media_s8_637277450567255881.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5a5157257f5713cb453a0f0f23f66987546e1b9e32ed124b6fe1182623894af2

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 18:24:17 GMT
server
AmazonS3
age
402831
etag
"64276857da1182c17be61c67602780eb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
34066
x-amz-cf-id
cOlJJFJG82YzoapWPlRXmeHjii1q23TDSmwKsQjb1hGWfEeqbtkaPw==
1029327_marcador-ponta-pincel-cis-dual-brush-36-cores_s3_637330694493478779.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/
31 KB
31 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/1029327_marcador-ponta-pincel-cis-dual-brush-36-cores_s3_637330694493478779.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
ed959f719c611067a894bc61115fdeefff3aa8b50f3ff8ab89a86cadd3d239e6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 15 Aug 2020 09:24:10 GMT
server
AmazonS3
age
314395
etag
"e08ef8f8947f4ce44ac02b55ec767883"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
31278
x-amz-cf-id
c5nneUmOJBYC8aycOrhWxBubWlPgBnGDyFcG-CyrEZB-CxZ0yfw7dw==
1010807_globo-terrestre-politico-30cm-de-diametro-corallo_s8_637277520593531264.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/10/
17 KB
17 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/10/1010807_globo-terrestre-politico-30cm-de-diametro-corallo_s8_637277520593531264.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
c90ce859d70193fbadb90accdc0d785d0404bfd2214ff545d151bd68f3e31fba

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 20:21:00 GMT
server
AmazonS3
age
402831
etag
"ff2ff1fb2594ea6952bc339a5105d5b8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
17330
x-amz-cf-id
pquNf8cAknkz19gENPfS47N5p7ipKXPhG3ojG5FnRWoYB6U9u7QIsw==
1206034_marcador-de-tecido-preto-uzee_s7_637500953214343087.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/06/
4 KB
5 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/06/1206034_marcador-de-tecido-preto-uzee_s7_637500953214343087.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4f597da0310972ea2e55857edaf177b7cea551bd0896b6d82c8140e2c87614de

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 10:48:42 GMT
server
AmazonS3
age
402831
etag
"603c1e2cad4e632f33fa4bfb337d2e06"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
4588
x-amz-cf-id
K8I7GOjpfZi7bHJvoCD-3mjN_9z2pvbVTaVqk3zBnIC29kE6__2Byg==
1225841_caixa-de-som-6w-rms-2-0-dupla-sp261-multilaser_s16_637500172151110346.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/
23 KB
23 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/1225841_caixa-de-som-6w-rms-2-0-dupla-sp261-multilaser_s16_637500172151110346.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
20588f1314ba0fccc5db62eb3d68c73711dbd0462e0acafe827b42395b3a85e3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Wed, 05 May 2021 12:30:54 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 13:06:56 GMT
server
AmazonS3
age
490771
etag
"cce04846b4e16a6695238c4b722020a8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
23167
x-amz-cf-id
zPeAavUzNxHnZ0GZ_LSNG0JzdUObFoRSjBtoXm5Tqo9-lDEwM9Z4OA==
986521_cartucho-hp-662-2ml-original-preto-cz103al_s8_637277760591736636.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/65/
24 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/65/986521_cartucho-hp-662-2ml-original-preto-cz103al_s8_637277760591736636.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
3af57f9a06d0870d69f3c4ec7ba13cd03ab59608054c1cd3d4509517b94b10cc

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:29 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 03:01:00 GMT
server
AmazonS3
age
314395
etag
"a9dbdc2494d61a6d200148348870eec5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
24868
x-amz-cf-id
orqGa0oJGicxsBOtdwkqJZ4mCJM3mUCcmPBM2vytIDHO4XAFXmLvyQ==
1226127_ssd-externo-240gb-e300-multilaser_s7_637455977177264812.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/26/
7 KB
7 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/26/1226127_ssd-externo-240gb-e300-multilaser_s7_637455977177264812.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
d2bdbcdbf9a55f996f3dfc875c4e2fd4f1784762203449038647e8d5b511bd2f

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 07 Jan 2021 09:28:38 GMT
server
AmazonS3
age
402831
etag
"68adacd182875d36b8ff6af0a6d6bc27"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
7063
x-amz-cf-id
03JAUKqmfmMubfUT_VXwCt_pEt5pmbU7YmxB4zRAYjsS5c8aZMmmhQ==
1221468_roteador-wireless-mesh-cosmo-300mbps-02-pecas-branco-bivolt-multilaser-re010_s16_637500961922040600.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/
9 KB
9 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/1221468_roteador-wireless-mesh-cosmo-300mbps-02-pecas-branco-bivolt-multilaser-re010_s16_637500961922040600.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
43b8d6e555edba03fadfcec6cb4b3bfeb708fdc7ab1ac9673261c25dd6e9888c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 13:20:41 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 11:03:13 GMT
server
AmazonS3
age
574184
etag
"160d1df8a77b081ec8e0e8c6df558e3e"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
8976
x-amz-cf-id
DujFCu6GNjEdirV88sabv4GSO73AyrcMCAJ4qWNfh3-TcYaJAOM9vQ==
1215505_mouse-pad-com-apoio-de-pulso-de-gel-maxprint-preto_s4_637278461896193427.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/15/
20 KB
21 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/15/1215505_mouse-pad-com-apoio-de-pulso-de-gel-maxprint-preto_s4_637278461896193427.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
158ed588a61cbccd6f9c9a3032b1f624534109f280a6948f4c84f490adc9b538

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 22:29:50 GMT
server
AmazonS3
age
266716
etag
"db1feac33403e3db80ed3e94df5e4093"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
20805
x-amz-cf-id
ecsuvTPNKmNPSTs5Rw8U3XHVrTXX0LOUPGucq5KfntUmKSJ2cyE0Nw==
1228561_fone-ouvido-headset-p3-com-microfone-rapoo-preto-h100_s13_637540645175108176.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
18 KB
18 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228561_fone-ouvido-headset-p3-com-microfone-rapoo-preto-h100_s13_637540645175108176.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ac9fe670f955498a4d2e02ef64c7909da7b863d5d3b7a4d404e9f94227b1405

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Thu, 15 Apr 2021 09:21:58 GMT
server
AmazonS3
age
402831
etag
"ca3b45a19c74d2895bc96bc2a5123c82"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
18328
x-amz-cf-id
bViSKDeb9oJx3LWj-6wQIKmb6J6M92bjnOSKj2q4avcTbyjG7SdUNw==
1221463_mesa-dobravel-notebook-e-tablet-lapdesk-octoo_s29_637499644755484245.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/
9 KB
9 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/21/1221463_mesa-dobravel-notebook-e-tablet-lapdesk-octoo_s29_637499644755484245.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
3303107c96f73c5197dc78f001ea4035868305625e11703b0bde2171ec0a38d4

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 22:27:56 GMT
server
AmazonS3
age
402831
etag
"354d1d02578028927f2cd3cec19765ef"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
9001
x-amz-cf-id
c6QmrAYMsJfWFSJ4u1dxgBok_w9QYKbMbZHfrZh1UsV1DV-ToCQCOA==
1228431_mouse-usb-optico-1200dpi-3-botoes-scroll-multilaser-branco-mo302_s7_637500998064766313.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
9 KB
9 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228431_mouse-usb-optico-1200dpi-3-botoes-scroll-multilaser-branco-mo302_s7_637500998064766313.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
98b86074dd63de3a51e3c7e07f4123c04dd7848faebdf6d00e1c76a9072bfe8a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 12:03:27 GMT
server
AmazonS3
age
266716
etag
"342a283cf5661cf8b7b5d4fddec7d926"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
9211
x-amz-cf-id
-uUfmjXlWbxQbZgPj49zeVkqmR3i9KTV3to5cgoYgpxnmKq3tRcVJw==
1176713_kit-masc-inf-mochila-c-roda-lancheira-e-estojo-stand-spider-sortido_s5_637275603657293699.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/76/
28 KB
29 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/76/1176713_kit-masc-inf-mochila-c-roda-lancheira-e-estojo-stand-spider-sortido_s5_637275603657293699.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
38f1ef9a8d89b503c3809e4436148b8f4957acf1b94b113830e49e784addd696

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 15:06:06 GMT
server
AmazonS3
age
402831
etag
"c8281eb795f21fc3801a4f2602c033d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
29133
x-amz-cf-id
LvjNWntcLUd2FMUnXiFbfXRIrICgxtqh7au8vQ5czZEhdE74foxtCA==
1219613_mochila-feminina-infantil-com-roda-m-luxcel-barbie-paete-pink_s63_637501000360492042.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/
23 KB
24 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/1219613_mochila-feminina-infantil-com-roda-m-luxcel-barbie-paete-pink_s63_637501000360492042.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9fbb20b5d55dc3107bab0ad62ad8271c44ef5fd7063fc647a09d9f9cca4c35e4

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 12:07:17 GMT
server
AmazonS3
age
402831
etag
"d54900306fb9dadd05ecf90e60d4876f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
24059
x-amz-cf-id
BxJfBA1Mghv4xFARFdvxO8-TnuPqHEhS2miKivY0KROdvqRMMSy8qA==
1219379_mochila-feminina-jovem-sem-roda-g-jansport-cross-town-9fl-vinho_s3_637371878868196091.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/
16 KB
17 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/1219379_mochila-feminina-jovem-sem-roda-g-jansport-cross-town-9fl-vinho_s3_637371878868196091.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
73976c2ba0fcf7e5d2acf277b00c3d2c93ada7da9a9a1e152e77c9ea59fe798d

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 02 Oct 2020 01:24:47 GMT
server
AmazonS3
age
402831
etag
"bb2a2790c6c081e14430b467d33a9eff"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
16695
x-amz-cf-id
XjQkDPvxH1HfVdv5GuR_2Vaz-iYo6JlA_nszM9YxDg-YCmQXV43F3Q==
1177201_mochila-fem-jovem-s-roda-g-teen-bpt30074_s2_637363081646570561.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/77/
31 KB
32 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/77/1177201_mochila-fem-jovem-s-roda-g-teen-bpt30074_s2_637363081646570561.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
c4521a289a6257a7aee087097622195f4b8bd9777f119ccf29b21b51f00a90e4

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 21 Sep 2020 21:02:45 GMT
server
AmazonS3
age
314395
etag
"8163d92cf2554afd47021f637909aa50"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
32225
x-amz-cf-id
fOmc2PGoXkj6vH_ItvSGebx9XwBJyvsmwpQ4D-4OLfiEXH7qkHTZGg==
1223703_mochila-jovem-sem-roda-g-tilibra-academie-flamingo_s46_637499743336836505.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/23/
41 KB
41 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/23/1223703_mochila-jovem-sem-roda-g-tilibra-academie-flamingo_s46_637499743336836505.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
17dfdc15db7396b3c1442e8b77f8c40178257aa125c24e78cd703d7790cea1cd

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 01:12:14 GMT
server
AmazonS3
age
402831
etag
"8a8cc18477f55edcd25d775cec0c3e53"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
41758
x-amz-cf-id
OuU8Tek9jU93dqI-Orf-qjW2MoB-YOMHkc5SlEv65NIHeW2d-AQGoQ==
1219544_mochila-feminina-infantil-com-roda-m-luxcel-up4you-preguica_s36_637501014484621806.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/
27 KB
27 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/19/1219544_mochila-feminina-infantil-com-roda-m-luxcel-up4you-preguica_s36_637501014484621806.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9faaf18aa40b272571a39100cfb5d3bf3a8ee865e53b120f034284285a2f853a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 12:30:49 GMT
server
AmazonS3
age
402831
etag
"45b50ecf25ccd3f01f8b9599d873f5f2"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
27341
x-amz-cf-id
SlKdqgmQXUHGg0T64Lut-tqta9DUZr2ft9lYVfI3LbfXvEG1qE0YGA==
1176709_kit-fem-inf-mochila-c-roda-lancheira-e-estojo-cookie-sortido_s5_637363106314735548.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/76/
27 KB
27 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/11/76/1176709_kit-fem-inf-mochila-c-roda-lancheira-e-estojo-cookie-sortido_s5_637363106314735548.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
37f15bf0263e5ba81afad24645a2df808d079c65beb7420c21c02e24ff75cc3d

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:34 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 21 Sep 2020 21:43:52 GMT
server
AmazonS3
age
402831
etag
"47d17a493bc72bd2cf07b27daec829ab"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
27508
x-amz-cf-id
8kg70g__BCt6Y7FaX0xIqVQ_Jnw72gRA1ybSegda7jeyd4qGQ-ywmg==
fa-solid-900.woff2
www.supriagora.com.br//Custom/Content/Themes/HardCore/CSS/Fontes/FontAwesome/webfonts/
58 KB
59 KB
Font
General
Full URL
https://www.supriagora.com.br//Custom/Content/Themes/HardCore/CSS/Fontes/FontAwesome/webfonts/fa-solid-900.woff2
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=HgEAAB-LCAAAAAAABABd0E0PgjAMBuD_0jM6BzIjVy7ePRpixqhfEUq2iiaG_24jITPe2j5vmqZvaKA4vKGHAtwjMLXKUcfYseILthjUzvqmJI-q3O8hgdM33kkcA1_vFJYuBJkTFKsxmaQm4sDe9tH0bCfZbp8YqMWo6az2Jjfgz87sTxb2XFMdfT1779HRsaOBIuZjNVYJOBZnfLGaZJDWZJvcpGZljF6nervJtYCTX2QmlwIK9g8cP8ZoThUeAQAA
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
a83079124373d924ad1402fbc08d2e24d0043234d4c26565f1c368745f55f5d9
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Origin
https://www.casadopapel.com.br
Referer
https://d2rx7920ojogr7.cloudfront.net/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:24 GMT
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
etag
1620692686
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
application/font-woff2
access-control-allow-origin
*
cache-control
public,max-age=604800,s-maxage=2592000
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
strict-transport-security
max-age=31536000; includeSubDomains; preload
accept-ranges
bytes
content-length
59572
x-xss-protection
1; mode=block
1208313_toner-hp-w1105a-preto-laserjet_s3_637277077953728005.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/08/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/08/1208313_toner-hp-w1105a-preto-laserjet_s3_637277077953728005.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
17f789af2441b1b2ffed562dd8459eb5067c619a02e0a7e8013e069c4fa0b60e

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 08:03:16 GMT
server
AmazonS3
age
402831
etag
"8607e6c1ca6658e0890f675049a0a192"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
12897
x-amz-cf-id
oapxN5IlHTCIQkzAl2rlFqkjEZ9Qdail8oGpm_FQMEjNJkuCscGfhw==
989001_cartucho-epson-t296120-br-preto_s10_637542374321134061.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/90/
28 KB
29 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/90/989001_cartucho-epson-t296120-br-preto_s10_637542374321134061.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
b2d313190acfbfc1aee1e4332b420531abc11a2ea686b8b09f336291bc7d7171

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 17 Apr 2021 09:23:53 GMT
server
AmazonS3
age
402831
etag
"59a60d20d8b4cb20385db74375010221"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
28889
x-amz-cf-id
pKfNstBYRr8_fZiHn_nYz0VzQQlsg7ZP6WLET4OJaEv1BYagV112Cw==
1202617_papel-color-a4-120g-15fl-uzee-vermelho_s2_637278603597919593.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/02/
25 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/02/1202617_papel-color-a4-120g-15fl-uzee-vermelho_s2_637278603597919593.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
99f68954741f6bb28df003ef807010b6cdb475bfe50bb60f3a13741ebea215e5

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 16 Jun 2020 02:26:00 GMT
server
AmazonS3
age
314395
etag
"dd326d6db6a0ffa36dc911044173cb63"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
25312
x-amz-cf-id
pPwAThHhaFM1QBwH7vWrlZYpV6sGBDpzqsarnTD7tmn5ewSupMbLOw==
993169_etiqueta-pimaco-carta-25-folhas-6280-25-4mmx66-7mm_s6_637276790422372015.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/31/
34 KB
35 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/31/993169_etiqueta-pimaco-carta-25-folhas-6280-25-4mmx66-7mm_s6_637276790422372015.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5be5957330276f4ac50e9ca9877ec991650bfefc23366e0726998be3047183af

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:04:03 GMT
server
AmazonS3
age
402831
etag
"6f88f1c3a93062d7a6b0bbfab55704f4"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
35210
x-amz-cf-id
bIXC7QJcomkJglbtAVFqddSCuSlykxciZvhD4kA4f2mOdLs65tOI9g==
1217879_impressora-termica-nao-fiscal-guilhotina-serial-e-usb-tm-t20x-epson-bivolt_s82_637454607277518619.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/17/
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/17/1217879_impressora-termica-nao-fiscal-guilhotina-serial-e-usb-tm-t20x-epson-bivolt_s82_637454607277518619.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e249e66cc13ef39d2631cc1ccf75e89a9dcb2450f2f7c51e05838b53fefca49a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 05 Jan 2021 19:25:28 GMT
server
AmazonS3
age
314395
etag
"5c09a030acd55551c287cccddcaeff67"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10896
x-amz-cf-id
-ZEGOrREEi91Yt9VuK9gMxJJEYN8iILRt6vWWo6qGGVbwmUj62W3Pg==
1218882_ribbon-cera-110x74-mastercorp-g40-04-un_s1_637305924766360586.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218882_ribbon-cera-110x74-mastercorp-g40-04-un_s1_637305924766360586.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5b710794ef125181bc0bcce873cfba8c11a0717a081a813ef5a38eea33300303

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 17 Jul 2020 17:21:17 GMT
server
AmazonS3
age
314395
etag
"cd9703936998d45e8e4958bdc72dc317"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
12887
x-amz-cf-id
7YGogrhZoyHjsd3agGGtza4FZBBtQM1zdt-ugjmgUVSgVWs21E0HZQ==
992177_cartucho-hp-664-2ml-original-preto-f6v29ab_s8_637277614733575597.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/21/
26 KB
26 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/21/992177_cartucho-hp-664-2ml-original-preto-f6v29ab_s8_637277614733575597.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
24f78a86fd508966a8dccbe17a1a4a6ebe2ee04a62a77395055b85cb32f171b2

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 22:57:54 GMT
server
AmazonS3
age
314395
etag
"80302bc5b010a796a9f4c228ec68a3cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
26572
x-amz-cf-id
VH7jk94uIZ4gnd49uS-m_UbH4RpVuYB4a_1irJtgYPvZo0_40ravKQ==
1023343_impressora-multifuncional-hp-tank-ink-advantage-wi-fi-416-copiadora-e-scanner-bivolt_s13_637275825375376013.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/23/
13 KB
14 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/23/1023343_impressora-multifuncional-hp-tank-ink-advantage-wi-fi-416-copiadora-e-scanner-bivolt_s13_637275825375376013.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8837574056a0c2190549174b58c15f9f486d4aa919165ced8e2b4cdf248d4702

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 21:15:38 GMT
server
AmazonS3
age
314395
etag
"2018a7c3fc6c153c2836ae3d8c0c4662"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13762
x-amz-cf-id
TFEEQMuIhVrTAGKf76U6K6-WYcQVeRUviRSKDuarMnvnJXzc6IHUqg==
1429_banner637460528676915133.png
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/
223 KB
223 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/1429_banner637460528676915133.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
054420129eb5c465d9d83e8c8fb67fbe1ce6b7712b04ba2a1fe3da1288268dda

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 12 Jan 2021 15:54:28 GMT
server
AmazonS3
age
402831
etag
"6d5f518692d93029be6fd4a9306b8356"
x-cache
Hit from cloudfront
content-type
image/png
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
227863
x-amz-cf-id
2n6ojOEK277ZEYwCbVKcjorb5V1wPAqGks3_fbxTqH03WplZi8NYYA==
1430_banner637460528858653682.png
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/
158 KB
159 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/1430_banner637460528858653682.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a03c014320acd383a7511fd7f34b35197e8e13403e36e4c508efdf13afebe872

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 12 Jan 2021 15:54:46 GMT
server
AmazonS3
age
402831
etag
"361deda536a39289205b25c90dcab262"
x-cache
Hit from cloudfront
content-type
image/png
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
162294
x-amz-cf-id
MCQiMfO6NXJZRDsc8VaI5ubTvEdNRhhoSezrmwGmF1eChkZHtDzW7A==
1431_banner637460529196275007.png
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/
151 KB
152 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/1431_banner637460529196275007.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
74c2dd0ea71dae29eb97b4865e8e482aea2ecbb6a822581d056f45b9f25a0296

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 12 Jan 2021 15:55:20 GMT
server
AmazonS3
age
402831
etag
"3412e2cc976e520660b1da5114bcfa69"
x-cache
Hit from cloudfront
content-type
image/png
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
154981
x-amz-cf-id
Y5abB0Jn8gVLNghLN-VmUzPuG24PMj-BsVcMHGr_1-ehyyV_RpL6Ww==
1432_banner637460529332140770.png
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/
155 KB
155 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/1432_banner637460529332140770.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
17d8356a48a87a3ec774f9be22ec26ab0c772065198a6b5348098ea4b271a417

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 12 Jan 2021 15:55:34 GMT
server
AmazonS3
age
314395
etag
"8b4dada52cb4b55076ee864398142c12"
x-cache
Hit from cloudfront
content-type
image/png
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
158400
x-amz-cf-id
kAWn3IJpkbe8me5ZhiR510gPLOzMjRdWSXb0AG1NCcGw199JZcBxpA==
1433_banner637460529441896427.png
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/
145 KB
146 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Banners/14/1433_banner637460529441896427.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8cedb39ee72b78f9f8cd68b89b79f836693fcbf46a63cd9a889150026272b5a3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 12 Jan 2021 15:55:45 GMT
server
AmazonS3
age
314395
etag
"29f85ccceebddee80a870241369c2be6"
x-cache
Hit from cloudfront
content-type
image/png
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
148793
x-amz-cf-id
0suLOYFBeAKWnGViLfLSG1NRLxHe1Gd5vjrHgZtTHuBLOnh_53hbpA==
1218844_tapete-sanitizante-38cmx58cm-preto-kapazi_s8_637499415197943138.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
14 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218844_tapete-sanitizante-38cmx58cm-preto-kapazi_s8_637499415197943138.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4f39de549c4b7336fa25766c692c4afb544cdac3c79bc90a9ce1cbab30c224f3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 16:05:20 GMT
server
AmazonS3
age
402831
etag
"cece57daccd2297e10a2d472a88c17d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14788
x-amz-cf-id
UB2PczN6afgYpZMkdWhJWimly7zyLHe-997IXZQIcRN5UvOuXZCMwQ==
1218636_alcool-gel-antisseptico-5kg-70-0-inpm_s2_637278582522850164.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
16 KB
16 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218636_alcool-gel-antisseptico-5kg-70-0-inpm_s2_637278582522850164.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a0e2aa30ab36eda516aacffc5f9d1b9399092c65e73bc9479d8f7788333d0fd6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 16 Jun 2020 01:50:53 GMT
server
AmazonS3
age
222042
etag
"96b348ae898911e3c19ba5e3b049e86f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
16096
x-amz-cf-id
1cIwYehRZwCNE1nYELWrSmiOZBQ3r45usWeYseNxxHA9TKywkIkipA==
1218859_toalha-papel-branca-03-dobras-22cmx23cm-2400-folhas-santher-eco_s2_637499415404682332.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
22 KB
22 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218859_toalha-papel-branca-03-dobras-22cmx23cm-2400-folhas-santher-eco_s2_637499415404682332.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a506c0bb68abcc20d8b48452e5e73e4071f210024695319f6d0a6274d663d279

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 16:05:41 GMT
server
AmazonS3
age
314395
etag
"27d7567e6b6a42e9021016940ed27cc5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
22221
x-amz-cf-id
pl7x2eiNZ7BbUAfjhjsXBzoLRTWoib14eRcBN_DFj6a_50qmsH5ZDw==
986717_toalheiro-pp-32cmx25cmx13cm-branco-cdp_s10_637499427099883346.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/67/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/67/986717_toalheiro-pp-32cmx25cmx13cm-branco-cdp_s10_637499427099883346.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e663a13fa4c1d70d5616ac2d116ac39967c160b85da4f4aa96ef951e256e406e

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 16:25:11 GMT
server
AmazonS3
age
314395
etag
"0534c7f053ed7948f4da763823d2a0da"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13058
x-amz-cf-id
gF50VR2jn_OWt3XfUm7TnsygNyUSvn9JOq-pGVQLjoVtTpLIFGYopg==
1218724_dispenser-pedestal-com-pedal-para-alcool-gel_s35_637499490160754125.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
5 KB
6 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218724_dispenser-pedestal-com-pedal-para-alcool-gel_s35_637499490160754125.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f827564e84cea92e2931063ef0937fb6022a785a03a00a80da204432e1180336

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 18:10:17 GMT
server
AmazonS3
age
402831
etag
"892a6ee0a0a0e8f06e870682fa6eb11f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
5279
x-amz-cf-id
5xElJne83KBHCTzZ_64o-YlJzXwtw7e05nYqn05Hda-0O9CgTf1F_A==
987775_sabonete-liquido-5l-soft-plus-erva-doce_s8_637277616210474713.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/77/
19 KB
19 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/77/987775_sabonete-liquido-5l-soft-plus-erva-doce_s8_637277616210474713.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
a50c7aedf625b01a5838eef908c741f7adcabc316a081a1c7a0491655c5092e6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 23:00:22 GMT
server
AmazonS3
age
314395
etag
"433b7aa12fb7ee624f2e29897b1c75da"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
19211
x-amz-cf-id
D1QComw_B3aMoQ2uHUFPkuC9jDYuvELXdEGQPFwIlxikHDM8FqGSDg==
987767_saboneteira-pp-28cmx12-5cmx12cm-reservatorio-900ml-refil-800ml-branca-cdp_s12_637499427221366010.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/77/
9 KB
9 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/77/987767_saboneteira-pp-28cmx12-5cmx12cm-reservatorio-900ml-refil-800ml-branca-cdp_s12_637499427221366010.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
fac26b0b67ec27beb031a2b594552729152090b3ffd065cf53e2c5892b3c935a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 16:25:23 GMT
server
AmazonS3
age
314395
etag
"91c0080a2c6700bf596314709f861210"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
9088
x-amz-cf-id
TwC6jNxer5AUSHv8UpE3dKCiF9A5ggz1b7Szf8QubqzG3XCN6-XbBQ==
1218838_papel-higienico-rolao-branco-folha-dupla-08-rolos-de-250m-santher-inovatta_s2_637499413320475041.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
20 KB
21 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218838_papel-higienico-rolao-branco-folha-dupla-08-rolos-de-250m-santher-inovatta_s2_637499413320475041.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
0192dcf69b7dc3b2dab1fe31fe89008ea9ab41f63f864e3633cce266aa2e0ee9

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 16:02:13 GMT
server
AmazonS3
age
402831
etag
"40d47a7233fff15f2472925588b32586"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
20834
x-amz-cf-id
ShvdMCsyvAN85xq6ZuIvxLcWC0yUIpezEND0am7NzswxFVWyi_8u3w==
1224264_aplicador-de-fita-gomada-com-reforco-toboga-mc300_s14_637500937937091528.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/24/
23 KB
24 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/24/1224264_aplicador-de-fita-gomada-com-reforco-toboga-mc300_s14_637500937937091528.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
bd6ca9e18371639b1e538ea315ff9f94da930be31133b702377b6950026f4444

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 10:23:14 GMT
server
AmazonS3
age
314395
etag
"eb276df95dbb6ceca06594c26c8dd8e0"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
23970
x-amz-cf-id
YGr2fO7M_6zHKN_YSTONBED0y30ny7Nk-3ytWNHeI4spQnoZhSyyUg==
1011981_fita-gomada-70mm-x-180m-com-reforco_s9_637277988313405719.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/11/
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/11/1011981_fita-gomada-70mm-x-180m-com-reforco_s9_637277988313405719.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
41a4a1998c7b07d82a0161739251f80d67e6e769ca477bc79e16eb8a871b06ab

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 09:20:34 GMT
server
AmazonS3
age
222042
etag
"d5955268f86dda1797353d016069724e"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
12141
x-amz-cf-id
VeQ3hiOyYAvmK4GRdPlhoLhYccIvcUF5Q-5aqC6q7cjuTQasaGfvdg==
1017022_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-cor-natural-com-25-unidades_s5_637276552590152929.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/17/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/17/1017022_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-cor-natural-com-25-unidades_s5_637276552590152929.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
c3219a1ac7dbfa093c7cdd83d5224dbd66808f369d2e7c5c7687cc24f9108c3e

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 17:27:40 GMT
server
AmazonS3
age
568677
etag
"c9ba7a153b86c1bb9bc3c6f5dacac526"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13052
x-amz-cf-id
IZDJe5EdUI_76kXNheLFp48B_MBhXZsL48dKJFPD6nqrwGgp5XxeIQ==
1029156_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel-com-25-unidades_s12_637551875856277667.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/
15 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/1029156_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel-com-25-unidades_s12_637551875856277667.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 19:44:59 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:19:46 GMT
server
AmazonS3
age
378325
etag
"a1f8a4b4546a6b31d3dcf59e8fe664cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14970
x-amz-cf-id
g0ZfhUtDTg4ZJ7UzjAhz_qaY3LKvflq0VVP6nQtfBp4U2te03Fy1DQ==
1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 01:00:48 GMT
server
AmazonS3
age
568677
etag
"117cbcc63b2c51de12cfd582ba1ddad7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13245
x-amz-cf-id
OG8kwAd8wx3VWq87ibTaHYziPySTA8yrkaGgt5tsA7Q2FkNAg5o4Iw==
1021860_fita-pp-45mm-x-40m-3m-durex-transparente-4802-com-4-unidades_s7_637277880428451250.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/21/
19 KB
19 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/21/1021860_fita-pp-45mm-x-40m-3m-durex-transparente-4802-com-4-unidades_s7_637277880428451250.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
0c5c894e4b21b023ab1efc47d98e818062cc2e7f9207e638664aba47e6207594

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 06:20:44 GMT
server
AmazonS3
age
568677
etag
"797dc8fcad8dddd475f04da7954435d5"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
19533
x-amz-cf-id
ek4Ae5HTVK6qqD1jLEdF8eOusg1EmIs9GAMdqkKFQqrZ9mTysWwNnA==
1027401_saco-plastico-pe-miltidobras-fundo-estrela-25cmx39cm-03kg-500-unidades-rolo_s4_637276028338103498.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/27/
9 KB
9 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/27/1027401_saco-plastico-pe-miltidobras-fundo-estrela-25cmx39cm-03kg-500-unidades-rolo_s4_637276028338103498.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
bda4335bf9958eeb49be5ef9a0475cd9d06ebcda29e115254b9b752e78ae206f

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 02:53:55 GMT
server
AmazonS3
age
314395
etag
"5e8f1b65cc4061c5226654a63d7e80a1"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
8901
x-amz-cf-id
apDAx2qBW8GsU9OsoQhUCLMQ5nVE-Hc7d6OHLCvoUj2OiVggDy5-uQ==
1012087_saco-plastico-pe-10cm-x-14cm-com-ziper-incolor-liso-com-100-unidades_s7_637275992728349187.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
25 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012087_saco-plastico-pe-10cm-x-14cm-com-ziper-incolor-liso-com-100-unidades_s7_637275992728349187.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
0af867e8ee3d1f30772e364e82e0df35a0bbce7dcf93a91e409148acf9785bcc

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 01:54:33 GMT
server
AmazonS3
age
222042
etag
"2d4871ba035194e1f878e6aee3eb77f9"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
25473
x-amz-cf-id
ucZnBvSQ_xXG508U9SYFsiyR2WwVwL4vlOlCUtxmyHZGJhIy8Nbgyw==
991529_fita-demarcacao-area-70mmx160m-amarelo-preto-eurocel_s8_637277751036129235.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/15/
24 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/15/991529_fita-demarcacao-area-70mmx160m-amarelo-preto-eurocel_s8_637277751036129235.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
789834e558124d7d3626daf830b6418af3c86e316ff1e428804ca69649bbd67b

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 13:20:42 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Mon, 15 Jun 2020 02:45:04 GMT
server
AmazonS3
age
574183
etag
"26ca24e916de5bf80473ba466ddbaf51"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
24938
x-amz-cf-id
yXytGPOH0dpogkeYQ_-vRZaJ6JbpmUHfGpyzFW-vyPa6Spn8hoYT1g==
1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
10 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 24 Apr 2021 09:18:47 GMT
server
AmazonS3
age
314395
etag
"e98ab2e97f7c6319bddb7786302929e8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10515
x-amz-cf-id
qZ4gbwetXlaL8ma2h6LY56AJfFx9yv9GPc2NYV7MUeN9c5qjSFse4w==
1012148_luva-latex-descartavel-media-ambidestras-com-100-unidades_s10_637539780704789872.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012148_luva-latex-descartavel-media-ambidestras-com-100-unidades_s10_637539780704789872.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9b4cd006e6c16b3535a57f8bafcb3cac65c23c60d53c93fe39520fdd50ca28a0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 14 Apr 2021 09:21:11 GMT
server
AmazonS3
age
266716
etag
"3b11cb6d0114a53b774ca26d6103d5a2"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13325
x-amz-cf-id
smd4h6aqHw3Fw8NnIVEVHb3ph4GIyEKR3AdWa856u7N2SrrBF82ZTw==
1228353_mascara-de-protecao-descartavel-tnt-3-camadas-com-elastico-azul-com-05-unidades_s7_637500976141562197.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
18 KB
18 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228353_mascara-de-protecao-descartavel-tnt-3-camadas-com-elastico-azul-com-05-unidades_s7_637500976141562197.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
c9631615b05438482248f76f813f080f9b4e76da45841b4855ba60aaef0f6a93

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 11:26:55 GMT
server
AmazonS3
age
266716
etag
"848a71a4ef7e2b6b443caaca24327e31"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
17999
x-amz-cf-id
wY4czYKHY_E7CDGJghmAMqWqBZZjYckY1ygybnOHExyiKwRcor_uPg==
1012243_luva-plastica-descartavel-ambidestras-100-unidades_s7_637276345228792953.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
19 KB
20 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012243_luva-plastica-descartavel-ambidestras-100-unidades_s7_637276345228792953.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
6a19636aa7c9957c2419bb331dff9e744ae47d5b709ab51c74799929c1258189

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 13:20:42 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 11:42:03 GMT
server
AmazonS3
age
574183
etag
"e6bbc8d6c280fc57ad8fd7fd36c6358b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
19730
x-amz-cf-id
P3qLuMqBba9299JDGm1KS2GE9NDB7_49FqVi9KH2I5RSKGBdwkjajA==
1011247_oculos-protecao-sobreposicao-vision-2000-3m-incolor_s8_637276322786915478.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/11/
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/11/1011247_oculos-protecao-sobreposicao-vision-2000-3m-incolor_s8_637276322786915478.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4f3b07c24485857b683742e8a1abb0761e2f2f293469f36f0565e0d0772c17ae

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 02:45:09 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 11:04:39 GMT
server
AmazonS3
age
266716
etag
"987f252986d70d82101baac8f3602276"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11829
x-amz-cf-id
3RzIh1WBw0xaCFAh-O7Yf7hNv1qm9eKibWdb1gSCbCfdqLIvy8zFuA==
989987_fita-demarcacao-de-solo-38mmx15m-amarela-eurocel_s6_637500975043068258.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/99/
31 KB
32 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/99/989987_fita-demarcacao-de-solo-38mmx15m-amarela-eurocel_s6_637500975043068258.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9f2d370d6329b0a8ed860509ef3681dd267102ea249bf2b938babaf8d0851312

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 11:25:05 GMT
server
AmazonS3
age
314395
etag
"735ac6e700f75bfd75528d341a3aecfe"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
31883
x-amz-cf-id
5rvSArox17xYFbU2QuLEPd7uSxcQ2ST1Bm2XaIxOXGQ4FcwXez1ZDQ==
1227266_mascara-protecao-reutilizavel-de-algodao-duplo-c-elastico-preta_s2_637500879221781514.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/27/1227266_mascara-protecao-reutilizavel-de-algodao-duplo-c-elastico-preta_s2_637500879221781514.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
30da7451dce6ab9a6dc643fc1e4f2045d60848fee94d20be7c709cdb85b37fe1

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 13:20:42 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 28 Feb 2021 08:45:23 GMT
server
AmazonS3
age
574183
etag
"1791c462b7c754b14a418f1acaeee1c7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11169
x-amz-cf-id
QdxFQjiNuGYp_GWNKegtofS_z09hmrNDZ7brvz49c-3hgFCtbTxuQg==
1201711_marcador-artistico-cis-graf-duo-brush-estojo-com-6-tons-pastel_s3_637275831611615733.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/01/
20 KB
21 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/01/1201711_marcador-artistico-cis-graf-duo-brush-estojo-com-6-tons-pastel_s3_637275831611615733.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
49e1bc187b1a0224ab699435c530b7d8761e8f00c2f8e1710eb6e586ba054169

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 21:26:02 GMT
server
AmazonS3
age
314395
etag
"aea315b92a854ae827fc6ac309521a1a"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
20976
x-amz-cf-id
PTujjju1e9zO4gcqi7yHATKAwQ_--QGxIzJXLql5g1ydXrd8u8nqtw==
1201750_marcador-artistico-cis-graf-brush-fine-estojo-c-12-cores_s3_637275867705410434.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/01/
27 KB
28 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/01/1201750_marcador-artistico-cis-graf-brush-fine-estojo-c-12-cores_s3_637275867705410434.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
694c129be643a6d05ec1b206d7c236257addb8b354664f39127cf5622a9dd451

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 22:26:11 GMT
server
AmazonS3
age
402831
etag
"caf4383ced04544d21836d136f8c2080"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
28133
x-amz-cf-id
nbDpJRxWEfC0cPWeGX1UxSJ0I1ixxtu5jouXCtDn5xsThp5W3CjO-w==
1207883_livro-bloco-lettering-cis-a4-180g-28-folhas_s3_637277065114345594.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/
29 KB
30 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/1207883_livro-bloco-lettering-cis-a4-180g-28-folhas_s3_637277065114345594.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e5d27cac17bfa2406306762d133a3c895f9122a22deebb9d89eb079f4f2dfeb3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 07:41:52 GMT
server
AmazonS3
age
314395
etag
"c1f57ac97be0803c8e51e32f4cb4f4a0"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
29832
x-amz-cf-id
4rfHM5DNTIFGVfq7nCQ_Ii-tfCMGW3nwXYD3aiReH7-g8-RDdX-CZw==
990999_kit-5-canetas-marca-texto-stabilo-boss-pastel-5-stabilo-pastel-point-fine_s4_637299589718891489.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/09/
33 KB
33 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/09/990999_kit-5-canetas-marca-texto-stabilo-boss-pastel-5-stabilo-pastel-point-fine_s4_637299589718891489.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
fc682ad0fffb2349bf95a21390df5fd8f1eeca85b5cfa221bf5df8f33024b59c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 10 Jul 2020 09:22:52 GMT
server
AmazonS3
age
314395
etag
"9e29d436f63534aca583798d095e2647"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
33619
x-amz-cf-id
1lxWwusa-qey6I3nFsoCuOM0fGLNz-mWv6nnhhr2bk3EIHrVG3mecg==
1218092_caneta-porosa-1-0mm-stabilo-pen-brush-568-10-cores-568-10-11_s5_637278543923638451.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/
26 KB
26 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/18/1218092_caneta-porosa-1-0mm-stabilo-pen-brush-568-10-cores-568-10-11_s5_637278543923638451.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
af3769f8e162d297d4208586c1f7173175e142a7cf631a4e93d0ddd38724e7c2

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 16 Jun 2020 00:46:33 GMT
server
AmazonS3
age
222042
etag
"bc2e7790cb062066e7ae0cb1ff4a22c4"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
26119
x-amz-cf-id
odPiYNb-EKngwpapEEXGIxLdBCRX-HO6LZFCqJTEE1r6iS3tuVcUiw==
1207462_caneta-faber-castell-fine-pen-0-4-colors-48-cores_s44_637499333856041289.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/
35 KB
35 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/07/1207462_caneta-faber-castell-fine-pen-0-4-colors-48-cores_s44_637499333856041289.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
57903f12c29cbdf09fb2deafac781d6576c39a10c7a192b849cf4293adb040e9

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 26 Feb 2021 13:49:46 GMT
server
AmazonS3
age
314395
etag
"3ef203be092a7761469beb4d59fc15e0"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
35461
x-amz-cf-id
4NcydyFmCV6gpFXX3raXKFE8YUCQAWeHsWy7anisS7lTFD8QyfHpJA==
1203847_marcador-ponta-pincel-brush-pastel-newpen-c-06-cores_s3_637275884815743924.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/03/
23 KB
23 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/03/1203847_marcador-ponta-pincel-brush-pastel-newpen-c-06-cores_s3_637275884815743924.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
3abfa929cdca725df40f0d29a1ca582549a00668f80182e51ec0651d19fa0212

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Fri, 12 Jun 2020 22:54:42 GMT
server
AmazonS3
age
402831
etag
"97d91a2ef5f469034bf6e575efa90e1c"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
23560
x-amz-cf-id
8panhEqepzPim9Yh4ufHHh0IvCfe79xysuZzmFWVZKOPa_F6XjqR6w==
1225474_massa-para-biscuit-90g-azul-cobalto_s2_637500002289617796.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/
25 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/25/1225474_massa-para-biscuit-90g-azul-cobalto_s2_637500002289617796.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4f6f97e26e03cef272c4719caa367aa921b75d4ab8c6e0ee3763070d28c9964a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 08:23:50 GMT
server
AmazonS3
age
402831
etag
"b3432fa4f2fc1b34487d2f47ba903c9f"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
25690
x-amz-cf-id
H53ZfBkuSEAJl7_ZRq1rDwKt6U4eqzlum57JCHJWJ4s7JCviu2v9jA==
1215612_lapis-de-cor-12-cores-pastel-lyke-likito_s2_637277318768050775.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/15/
24 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/15/1215612_lapis-de-cor-12-cores-pastel-lyke-likito_s2_637277318768050775.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
ae0ef0345b3c44e662bb00718bf1dc198ab1daafc11bcb46cba76c08614d29d5

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 14:44:37 GMT
server
AmazonS3
age
222042
etag
"68912806b8de6ece63a0c9b714791ecf"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
24989
x-amz-cf-id
IFyycUQPnDqG7LEKqGp2GC2veOA7r9pCq7gjCRWfeFxXIfas2AZBlw==
1224126_marcador-para-tecido-com-06-cores-acrilpen-art-teen-acrilex_s2_637499907813849890.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/24/
35 KB
36 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/24/1224126_marcador-para-tecido-com-06-cores-acrilpen-art-teen-acrilex_s2_637499907813849890.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
9a8a29ece87ef97a9d603d31303d9968bc96902dccb936370482f22db2dc2ded

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 27 Feb 2021 05:46:22 GMT
server
AmazonS3
age
314395
etag
"88f6c84385fd595f1254ca7e80f492d9"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
36270
x-amz-cf-id
EmwJ4AZIYSEblXJxi7ocw2pJQ-h3x34Yfb2r-0uzxuoTTcPmvsW5bA==
1029047_areia-magica-sortida-acrilex-art-kids-sortido_s3_637303044739347334.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/
40 KB
40 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/29/1029047_areia-magica-sortida-acrilex-art-kids-sortido_s3_637303044739347334.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
2c4c61a1760079f31041078f454aca7d2c8297cc7923ceb5584127dbddcc0382

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Tue, 14 Jul 2020 09:21:15 GMT
server
AmazonS3
age
402831
etag
"cefe9c96292120b1393c9bbe71acedc4"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
41010
x-amz-cf-id
Wo1R5HFwnKpTZjO3jNiwqABaHQA7azoxN8ieLx0g7LDWBOwf_Npgqw==
988970_tesoura-picotar-craft-15-5cm-tris_s6_637276715603767732.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/89/
27 KB
27 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/98/89/988970_tesoura-picotar-craft-15-5cm-tris_s6_637276715603767732.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f612f5b41d5ccd9c6758c1ee6b7139184081dce7c509d2f1cf543e83fbc054b6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 15:09:43 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 21:59:21 GMT
server
AmazonS3
age
222042
etag
"f0580b4a7f62e10015294bb0580ea77e"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
27231
x-amz-cf-id
ERR5NWIukkpudBX9FnuXKBjb-8FrJLbwg2X9KRqDpA0MePVNYyb_SQ==
1216619_jogo-uno-copag_s2_637277315723644458.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/16/
25 KB
25 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/16/1216619_jogo-uno-copag_s2_637277315723644458.jpg
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
136ace6bc7623b431e7402fb3fa987721fb0d7e2b27e323ff971b1e461418dde

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Thu, 06 May 2021 12:56:33 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 14:39:33 GMT
server
AmazonS3
age
402831
etag
"fa7c85f6226d4f91ad860af865f25c9e"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
25496
x-amz-cf-id
HompIPlm3ysJ4ntEbyxNUPpjJv1Oi9NYATpk39s8nM1zUkUvMV2kqg==
icon-facebook3.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
844 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-facebook3.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
d8dafc67178ab9ed24bfc5e93e3c1ea6c34e034dbe93278eb0e0d1316e23ba12
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578006
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
844
X-XSS-Protection
1; mode=block
icon-instagram3.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
1016 B
2 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-instagram3.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
2a05f16d5b8bec82edfc57b6411b1f13de5a380aa25888d17ec289322279ff5c
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578006
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
1016
X-XSS-Protection
1; mode=block
icon-youtube3.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
822 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-youtube3.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
77272a5f17d800fc50494fbff8a13c8e4d0eb1c9f669f59c303bcc151a714ff5
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581880
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
822
X-XSS-Protection
1; mode=block
icon-tiktok3.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
874 B
1 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-tiktok3.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
4e9cfa5aba650a02f17b12665e510b789c142b208c77fab58ec37ca8c0f0137f
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618581835
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
874
X-XSS-Protection
1; mode=block
icon-pinterest3.png
supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/
1019 B
2 KB
Image
General
Full URL
https://supriagora.admin.core.dcg.com.br/Custom/Content/Themes/HardCore/Imagens/icon-pinterest3.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
3.222.77.24 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-3-222-77-24.compute-1.amazonaws.com
Software
/
Resource Hash
dfe399789e11e54ae9d20b9808bab0233d47ef1cf3d9cf0bb39739ff87310f98
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Security-Policy
upgrade-insecure-requests
Referrer-Policy
no-referrer-when-downgrade
ETag
1618578069
Expect-CT
max-age=31536000, enforce
X-Frame-Options
sameorigin
Connection
keep-alive
Content-Type
image/png
Access-Control-Allow-Origin
*
Cache-Control
public,max-age=604800,s-maxage=2592000
Feature-Policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
Strict-Transport-Security
max-age=31536000; includeSubDomains; preload
Accept-Ranges
bytes
Content-Length
1019
X-XSS-Protection
1; mode=block
meios-pagamento-2.png
d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Imagens/
10 KB
10 KB
Image
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Imagens/meios-pagamento-2.png?v=8
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
9b40c692dc0e0077f79b52a62e32c1f9827bd86b45579a5249cbde6b4b58b913
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 02:25:19 GMT
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
age
95105
x-cache
Hit from cloudfront
content-length
10207
x-xss-protection
1; mode=block
etag
1620613519
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
image/png
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
y9hA376OuHuJGdq7OANu-eDKisZqsM9PERahFO-1tv8Y1Pi9bQvAgQ==
lets-encrypt.png
d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Imagens/
4 KB
5 KB
Image
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/Custom/Content/Themes/Hardcore/Imagens/lets-encrypt.png?v=8
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
2272a9fdfc219acedc5fa5baac64fce609779754e70adb1d710417d81d2f10ce
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Sat, 08 May 2021 11:54:48 GMT
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
age
233736
x-cache
Hit from cloudfront
content-length
4438
x-xss-protection
1; mode=block
etag
1620474888
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
image/png
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
VukEkxeffzvcBZ4Rgt29q9-ygzlmNyjPphUhiL_u5QvDLqQUDvpfpQ==
getData.js
selo.compreconfie.com.br/scripts/
5 KB
6 KB
Script
General
Full URL
https://selo.compreconfie.com.br/scripts/getData.js?sellerId=2000506
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2606:2800:233:1cb7:261b:1f9c:2074:3c , United States, ASN15133 (EDGECAST, US),
Reverse DNS
Software
ECAcc (frc/8F96) /
Resource Hash
77efc118dfb069e5999a57bb7de2f1f77fa168ea0eefaff523a4aa693b14b14e

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
date
Tue, 11 May 2021 04:50:24 GMT
last-modified
Fri, 28 Aug 2020 20:54:57 GMT
server
ECAcc (frc/8F96)
content-md5
5NnsKWlWc62+hMIRXUZxrw==
age
2603
etag
"0x8D84B949F94A760"
x-cache
HIT
content-type
application/x-javascript
x-ms-request-id
85b7a664-a01e-0046-591b-469666000000
x-ms-version
2014-02-14
accept-ranges
bytes
content-length
5359
x-ms-lease-state
available
truncated
/
487 B
487 B
Image
General
Full URL
data:truncated
Protocol
DATA
Server
-, , ASN (),
Reverse DNS
Software
/
Resource Hash
afb57c26a40e1653a852884386e4d5ed0e9b07e0bac66ee97565f248f6a970d7

Request headers

Referer
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Content-Type
img/png
sjs.js
d2rx7920ojogr7.cloudfront.net/assets/
399 KB
116 KB
Script
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
17753aa02de8840169ce21823e887cf29faf2da41213cbccbeaf4b4e3e95e66c
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 17:22:32 GMT
content-encoding
gzip
vary
Accept-Encoding
age
41272
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
118421
x-xss-protection
1; mode=block
etag
W/1620667352
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
application/javascript
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
RLOsZQlXCRNxJUrJ4A90t-pxoP88f_aUreoqnzqjtBRmolh1kxPBPA==
asset.axd
d2rx7920ojogr7.cloudfront.net/
119 KB
33 KB
Script
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=xAkAAB-LCAAAAAAABACVlsty4jAQRf_Fa8q8gpmwzSfMYhZTWchyYyvo4ZLaeKgU_z5tTyIFxkLOjjJH9-rRt6X3rMoOv9-zNjtkL51Do5YvRiNoXP4SVQ3olrUxtYScaSYvKLhb_uRWtOiyRXYcx2oa21f5PZe_DYjJDqvr63Xx0EKotpMOcgXIYvJfGS-9Tkq31lQdx9wBs7yJid9SXn4zR_4oaNU9SG4U5K4xbQv2gc8U7g23SUPeAD-ZDvOSuRPQjDulmL00wKq47cNB3vwpaV5a0zuh65wzhNrYiwLdxUwnYW-2S5rRDGmug0DJtI4v7p7zFsXs4pBCD4VVCRat7gnUG-1nG7VWcEhZjJAX_zFbnCnT0eeE-j_Kyz_Pli-7S9khGp1y8GCI6WrwuMOMBi4FPxEewPmBHg-iF66RwiUXfQMHt1n5HgW0QXGkCu4b0OzMhGSlTB7k5KDgng77WaAdZt5wCpG1xjmQMdMpNnils62MY4KbvKG-FI3aFyZofyfKGnonAXFOnAMbvNKZdheHoGgPqOlRP8dBKprqSTi4pYMNtNP2s5_GXG6goJ5Otm-hylQsevK3VNBPR_vjykZGY-neruOn8j8ZLsn0_f557YCuQFEOoiu544JHui8M74KK0dvgpM142UUL7B4MLul-8FEwLe1A-kU0CQe3If-vi4wj0Qh_cPlGTcKNUkSc6Wux3e-KTbEqivXTZv28363pD04vtm2xox_ZAW0H179UBeIWxAkAAA%3d%3d
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
c7889704959dbdaf496151ca144ba8039ee45f76c3720d45dd6703ff2df4f97e
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 19:07:51 GMT
content-encoding
gzip
vary
Accept-Encoding
age
34953
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
33577
x-xss-protection
1; mode=block
etag
1620673671
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
text/javascript
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
6Ouf0rv9FNQha3-F6YXZnY8a51Udy80b-fnWN5yxS4pNuVms-mM1yA==
asset.axd
d2rx7920ojogr7.cloudfront.net/
110 KB
19 KB
Script
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
87f6e3a995849a797d2ccaa3aa3ca2e3468fc48a5025cafa56846244fdea04fb
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 19:07:51 GMT
content-encoding
gzip
vary
Accept-Encoding
age
34953
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
19298
x-xss-protection
1; mode=block
etag
1620673671
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
text/javascript
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
LlpYvm6DLPPwQq2QGjS729djyFgxMcSIk085U4RBhqDtv_GTVeTCKg==
asset.axd
d2rx7920ojogr7.cloudfront.net/
4 KB
2 KB
Stylesheet
General
Full URL
https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=dQEAAB-LCAAAAAAABACFkMsOgjAQRf9l1qTlISWy9RNcuDAsSFulCVDSGUBD-HeLLnABupvJnHtPMhMoyK8TdJDDqUeyDT_ZlnRL_GLUXRPyzlnVS2K1aTUbDVa1QeJnetYaIYDbO9_6_KjYJsskLqCFPJyLOfgpGwy5JVtJJkvnLKKud1xb6KqK_qoai6WRllW20TuKb2Stjn11EYAkD5F-EP9cBr-KJEtFLEIhokMcHbM08gfpX5yI1A-Qk-v1_AK6k7cPdQEAAA%3d%3d
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:2057:7800:4:524f:74c0:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
/
Resource Hash
3145725123937cb037f23c9bf4de467ba87dd3bed2971630f32d9ced5ea5baa8
Security Headers
Name Value
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 19:07:51 GMT
content-encoding
gzip
vary
Accept-Encoding
age
34953
via
1.1 163be08bc1bc44818353c4fd88655bee.cloudfront.net (CloudFront)
x-cache
Hit from cloudfront
content-length
1772
x-xss-protection
1; mode=block
etag
1620673671
expect-ct
max-age=31536000, enforce
x-frame-options
sameorigin
content-type
text/css
access-control-allow-origin
*
cache-control
public,max-age=604800
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
x-amz-cf-pop
FRA6-C1
accept-ranges
bytes
x-amz-cf-id
pXkIoHKQm1dPHYiQ3QpQ5h9kXA05na7cUTFnzgmWORW1ZA8IeFN5pg==
/
www.facebook.com/tr/
44 B
408 B
Image
General
Full URL
https://www.facebook.com/tr/?id=153189836133524&ev=fb_page_view&dl=https%3A%2F%2Fwww.casadopapel.com.br%2F&rl=&if=false&ts=1620708624913&sw=1600&sh=1200&at=
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a03:2880:f11c:8183:face:b00c:0:25de Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
proxygen-bolt /
Resource Hash
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:24 GMT
last-modified
Fri, 21 Dec 2012 00:00:01 GMT
server
proxygen-bolt
strict-transport-security
max-age=31536000; includeSubDomains
content-type
image/gif
cache-control
no-cache, must-revalidate, max-age=0
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
content-length
44
expires
Tue, 11 May 2021 04:50:24 GMT
getData.css
banner.compreconfie.com.br/styles/
2 KB
2 KB
Stylesheet
General
Full URL
https://banner.compreconfie.com.br/styles/getData.css
Requested by
Host: selo.compreconfie.com.br
URL: https://selo.compreconfie.com.br/scripts/getData.js?sellerId=2000506
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2606:2800:233:1cb7:261b:1f9c:2074:3c , United States, ASN15133 (EDGECAST, US),
Reverse DNS
Software
ECAcc (frc/8F9F) /
Resource Hash
4eba73cb1cf9ee27e50294bb43797b97a6efc406ff797ab824eab4b75902dfd3

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
date
Tue, 11 May 2021 04:50:24 GMT
last-modified
Tue, 08 Oct 2019 20:50:10 GMT
server
ECAcc (frc/8F9F)
age
2424
etag
"0x8D74C311C5AF2E3"
x-cache
HIT
content-type
text/css
x-ms-request-id
a5fef93a-c01e-003b-2f1b-460aae000000
x-ms-version
2014-02-14
accept-ranges
bytes
content-length
1561
x-ms-lease-state
available
2000506.png
selo.compreconfie.com.br/reputation/
5 KB
5 KB
Image
General
Full URL
https://selo.compreconfie.com.br/reputation/2000506.png
Requested by
Host: www.casadopapel.com.br
URL: https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_256_GCM
Server
2606:2800:233:1cb7:261b:1f9c:2074:3c , United States, ASN15133 (EDGECAST, US),
Reverse DNS
Software
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 /
Resource Hash
d2bf957e7e56b79d2f19aa1808b218cf6158e0a1c183ad453f24b18d474534e4

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-ms-lease-status
unlocked
x-ms-blob-type
BlockBlob
date
Tue, 11 May 2021 04:50:25 GMT
last-modified
Mon, 10 May 2021 08:02:54 GMT
server
Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
content-md5
vsIjaJpeSWBvNp9mVPwWcw==
etag
"0x8D9138A0417B2B1"
x-cache
HIT
content-type
application/octet-stream
x-ms-request-id
febab3f5-901e-000a-4921-465179000000
x-ms-version
2014-02-14
accept-ranges
bytes
content-length
5165
x-ms-lease-state
available
analytics.js
www.google-analytics.com/
48 KB
20 KB
Script
General
Full URL
https://www.google-analytics.com/analytics.js
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=xAkAAB-LCAAAAAAABACVlsty4jAQRf_Fa8q8gpmwzSfMYhZTWchyYyvo4ZLaeKgU_z5tTyIFxkLOjjJH9-rRt6X3rMoOv9-zNjtkL51Do5YvRiNoXP4SVQ3olrUxtYScaSYvKLhb_uRWtOiyRXYcx2oa21f5PZe_DYjJDqvr63Xx0EKotpMOcgXIYvJfGS-9Tkq31lQdx9wBs7yJid9SXn4zR_4oaNU9SG4U5K4xbQv2gc8U7g23SUPeAD-ZDvOSuRPQjDulmL00wKq47cNB3vwpaV5a0zuh65wzhNrYiwLdxUwnYW-2S5rRDGmug0DJtI4v7p7zFsXs4pBCD4VVCRat7gnUG-1nG7VWcEhZjJAX_zFbnCnT0eeE-j_Kyz_Pli-7S9khGp1y8GCI6WrwuMOMBi4FPxEewPmBHg-iF66RwiUXfQMHt1n5HgW0QXGkCu4b0OzMhGSlTB7k5KDgng77WaAdZt5wCpG1xjmQMdMpNnils62MY4KbvKG-FI3aFyZofyfKGnonAXFOnAMbvNKZdheHoGgPqOlRP8dBKprqSTi4pYMNtNP2s5_GXG6goJ5Otm-hylQsevK3VNBPR_vjykZGY-neruOn8j8ZLsn0_f557YCuQFEOoiu544JHui8M74KK0dvgpM142UUL7B4MLul-8FEwLe1A-kU0CQe3If-vi4wj0Qh_cPlGTcKNUkSc6Wux3e-KTbEqivXTZv28363pD04vtm2xox_ZAW0H179UBeIWxAkAAA%3d%3d
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
2cb09c7b3e19bfc41743ca3624ef81c3258d56525647feac76aa757e0292627a
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=10886400; includeSubDomains; preload
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Fri, 09 Apr 2021 23:59:54 GMT
server
Golfe2
age
1412
date
Tue, 11 May 2021 04:26:52 GMT
vary
Accept-Encoding
content-type
text/javascript
cache-control
public, max-age=7200
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19569
expires
Tue, 11 May 2021 06:26:52 GMT
gtm.js
www.googletagmanager.com/
177 KB
57 KB
Script
General
Full URL
https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=xAkAAB-LCAAAAAAABACVlsty4jAQRf_Fa8q8gpmwzSfMYhZTWchyYyvo4ZLaeKgU_z5tTyIFxkLOjjJH9-rRt6X3rMoOv9-zNjtkL51Do5YvRiNoXP4SVQ3olrUxtYScaSYvKLhb_uRWtOiyRXYcx2oa21f5PZe_DYjJDqvr63Xx0EKotpMOcgXIYvJfGS-9Tkq31lQdx9wBs7yJid9SXn4zR_4oaNU9SG4U5K4xbQv2gc8U7g23SUPeAD-ZDvOSuRPQjDulmL00wKq47cNB3vwpaV5a0zuh65wzhNrYiwLdxUwnYW-2S5rRDGmug0DJtI4v7p7zFsXs4pBCD4VVCRat7gnUG-1nG7VWcEhZjJAX_zFbnCnT0eeE-j_Kyz_Pli-7S9khGp1y8GCI6WrwuMOMBi4FPxEewPmBHg-iF66RwiUXfQMHt1n5HgW0QXGkCu4b0OzMhGSlTB7k5KDgng77WaAdZt5wCpG1xjmQMdMpNnils62MY4KbvKG-FI3aFyZofyfKGnonAXFOnAMbvNKZdheHoGgPqOlRP8dBKprqSTi4pYMNtNP2s5_GXG6goJ5Otm-hylQsevK3VNBPR_vjykZGY-neruOn8j8ZLsn0_f557YCuQFEOoiu544JHui8M74KK0dvgpM142UUL7B4MLul-8FEwLe1A-kU0CQe3If-vi4wj0Qh_cPlGTcKNUkSc6Wux3e-KTbEqivXTZv28363pD04vtm2xox_ZAW0H179UBeIWxAkAAA%3d%3d
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:811::2008 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Google Tag Manager /
Resource Hash
486533c23dfe246e8bae30ac7043dc8915ec42c9c17ff7e66da1f17800840e5e
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:26 GMT
content-encoding
br
vary
Accept-Encoding
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
58229
x-xss-protection
0
last-modified
Tue, 11 May 2021 03:00:00 GMT
server
Google Tag Manager
strict-transport-security
max-age=31536000; includeSubDomains
content-type
application/javascript; charset=UTF-8
access-control-allow-origin
*
cache-control
private, max-age=900
access-control-allow-credentials
true
access-control-allow-headers
Cache-Control
expires
Tue, 11 May 2021 04:50:26 GMT
SaveAjaxPageData
www.casadopapel.com.br/Analytics/AnalyticsPage/
216 B
640 B
XHR
General
Full URL
https://www.casadopapel.com.br/Analytics/AnalyticsPage/SaveAjaxPageData
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
40cda3f8e68f96c77d60230c60bcfe5af74d4b9f06e48cf8b8a5c609791f1740
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

sec-fetch-mode
cors
origin
https://www.casadopapel.com.br
accept-encoding
gzip, deflate, br
accept-language
en-US
sec-fetch-dest
empty
x-requested-with
XMLHttpRequest
cookie
lcsid=hqf2fiseqirdkevrv0wk5dfh; Vary-Cookie=WS166CS1WH1PL1CF0V1
content-length
2100
:path
/Analytics/AnalyticsPage/SaveAjaxPageData
pragma
no-cache
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
content-type
application/x-www-form-urlencoded
accept
*/*
cache-control
no-cache
:authority
www.casadopapel.com.br
referer
https://www.casadopapel.com.br/
:scheme
https
sec-fetch-site
same-origin
:method
POST
Accept
*/*
Referer
https://www.casadopapel.com.br/
X-Requested-With
XMLHttpRequest
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
application/x-www-form-urlencoded

Response headers

date
Tue, 11 May 2021 04:50:26 GMT
content-encoding
gzip
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-length
165
x-xss-protection
1; mode=block
pragma
no-cache
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
x-frame-options
sameorigin
expect-ct
max-age=31536000, enforce
vary
Accept-Encoding
content-type
application/json; charset=utf-8
cache-control
private,no-cache,no-store,no-transform,must-revalidate,max-age=0
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
accept-ranges
bytes
ec.js
www.google-analytics.com/plugins/ua/
3 KB
1 KB
Script
General
Full URL
https://www.google-analytics.com/plugins/ua/ec.js
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
058ed961bfe422af7bfc65865f4c08531ec8ace995f8a1ec560a46581cb7712c
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:39:38 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Tue, 22 Oct 2019 18:15:00 GMT
server
sffe
age
648
vary
Accept-Encoding
content-type
text/javascript
cache-control
public, max-age=3600
cross-origin-resource-policy
cross-origin
accept-ranges
bytes
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
1306
x-xss-protection
0
expires
Tue, 11 May 2021 05:39:38 GMT
collect
www.google-analytics.com/
35 B
55 B
Ping
General
Full URL
https://www.google-analytics.com/collect
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:26 GMT
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
content-type
image/gif
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
35
expires
Fri, 01 Jan 1990 00:00:00 GMT
collect
stats.g.doubleclick.net/j/
4 B
451 B
XHR
General
Full URL
https://stats.g.doubleclick.net/j/collect?t=dc&aip=1&_r=3&v=1&_v=j90&tid=UA-65759134-4&cid=317336560.1620708627&jid=1666182437&gjid=798394138&_gid=945822706.1620708627&_u=aHBAgUIJHAAAAE~&z=2044037737
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:400c:c08::9a Brussels, Belgium, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
84e01419bd81f32ac6df0f75f49c604fda9172000a3ae432b3c47b2a6a712d80
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain

Response headers

pragma
no-cache
strict-transport-security
max-age=10886400; includeSubDomains; preload
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
date
Tue, 11 May 2021 04:50:27 GMT
content-type
text/plain
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
4
expires
Fri, 01 Jan 1990 00:00:00 GMT
collect
www.google-analytics.com/
35 B
55 B
Ping
General
Full URL
https://www.google-analytics.com/collect
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:26 GMT
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
content-type
image/gif
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
35
expires
Fri, 01 Jan 1990 00:00:00 GMT
collect
www.google-analytics.com/
35 B
55 B
Ping
General
Full URL
https://www.google-analytics.com/collect
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:26 GMT
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
content-type
image/gif
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
35
expires
Fri, 01 Jan 1990 00:00:00 GMT
collect
www.google-analytics.com/
35 B
55 B
Ping
General
Full URL
https://www.google-analytics.com/collect
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:26 GMT
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
content-type
image/gif
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
35
expires
Fri, 01 Jan 1990 00:00:00 GMT
319779_1276.js
receiver.posclick.dinamize.com/forms/js/
88 KB
24 KB
Script
General
Full URL
https://receiver.posclick.dinamize.com/forms/js/319779_1276.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
3.23.208.81 Columbus, United States, ASN16509 (AMAZON-02, US),
Reverse DNS
ec2-3-23-208-81.us-east-2.compute.amazonaws.com
Software
Dinamize-PcReceiver /
Resource Hash
6d0a872c565d03937a9325df3419322b4a181f07c5e8ce3a3f7bf2189b4946db

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
last-modified
Tue, 11 May 2021 04:50:27 GMT
server
Dinamize-PcReceiver
etag
2021-03-15 16:52:34.798762338 -0300 -03 m=+10.189947211
content-type
text/javascript; charset=UTF-8
accept-ranges
bytes
content-length
24853
collect
stats.g.doubleclick.net/j/
1 B
69 B
XHR
General
Full URL
https://stats.g.doubleclick.net/j/collect?t=dc&aip=1&_r=3&v=1&_v=j90&tid=UA-65759134-2&cid=317336560.1620708627&jid=186705247&gjid=119198871&_gid=945822706.1620708627&_u=aHDAgUIJHAAAAE~&z=1502340523
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:400c:c08::9a Brussels, Belgium, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain

Response headers

pragma
no-cache
strict-transport-security
max-age=10886400; includeSubDomains; preload
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
date
Tue, 11 May 2021 04:50:27 GMT
content-type
text/plain
access-control-allow-origin
https://www.casadopapel.com.br
cache-control
no-cache, no-store, must-revalidate
access-control-allow-credentials
true
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
1
expires
Fri, 01 Jan 1990 00:00:00 GMT
analytics.js
www.google-analytics.com/
48 KB
19 KB
Script
General
Full URL
https://www.google-analytics.com/analytics.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
2cb09c7b3e19bfc41743ca3624ef81c3258d56525647feac76aa757e0292627a
Security Headers
Name Value
Strict-Transport-Security max-age=10886400; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=10886400; includeSubDomains; preload
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Fri, 09 Apr 2021 23:59:54 GMT
server
Golfe2
age
1414
date
Tue, 11 May 2021 04:26:52 GMT
vary
Accept-Encoding
content-type
text/javascript
cache-control
public, max-age=7200
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
19569
expires
Tue, 11 May 2021 06:26:52 GMT
conversion_async.js
www.googleadservices.com/pagead/
36 KB
14 KB
Script
General
Full URL
https://www.googleadservices.com/pagead/conversion_async.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
172.217.23.98 , United States, ASN15169 (GOOGLE, US),
Reverse DNS
fra16s45-in-f2.1e100.net
Software
cafe /
Resource Hash
38281fcc2a7815c29cd3dd706e81960d7f9d6249f5a9eaa0db4367ae757a1fa1
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
x-content-type-options
nosniff
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
cross-origin-resource-policy
cross-origin
content-disposition
attachment; filename="f.txt"
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
13944
x-xss-protection
0
server
cafe
etag
5399670466378585049
vary
Accept-Encoding
content-type
text/javascript; charset=UTF-8
cache-control
private, max-age=3600
timing-allow-origin
*
expires
Tue, 11 May 2021 04:50:27 GMT
loader.js
www.gstatic.com/wcm/
3 KB
2 KB
Script
General
Full URL
https://www.gstatic.com/wcm/loader.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:82f::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
9f959aaad80347edc26ed8279c6a68c098efc76876ac2e2f8ccc54b118f197f4
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:44:38 GMT
content-encoding
br
x-content-type-options
nosniff
last-modified
Mon, 15 Mar 2021 16:45:00 GMT
server
sffe
age
349
vary
Accept-Encoding
content-type
text/javascript
cache-control
public, max-age=3600
cross-origin-resource-policy
cross-origin
accept-ranges
bytes
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
1339
x-xss-protection
0
expires
Tue, 11 May 2021 05:44:38 GMT
tfa.js
cdn.taboola.com/libtrc/unip/1337616/
65 KB
22 KB
Script
General
Full URL
https://cdn.taboola.com/libtrc/unip/1337616/tfa.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
199.232.137.44 Frankfurt am Main, Germany, ASN54113 (FASTLY, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
7f4937b5a0a9875f83a607ab71e9939a03e9ee2fa4269d55ffc22ca305364703

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

x-amz-version-id
7gyeqDFBdg6qpOWB3i7Y5ZVIyChupo43
content-encoding
gzip
etag
"13813647fd3d276f986da880cd240488"
age
2
x-cache
HIT
x-amz-replication-status
COMPLETED
content-length
22290
x-amz-id-2
KTvc5P8i+VEsJcefHrVk43ZYJUsafzERcU/L57iUXYQU0HXrNIFFL+tHuLwQQLwQ+KCacAffRDY=
x-served-by
cache-hhn11563-HHN
last-modified
Tue, 04 May 2021 16:31:53 GMT
server
AmazonS3
x-timer
S1620708627.005467,VS0,VE0
date
Tue, 11 May 2021 04:50:27 GMT
vary
Accept-Encoding
x-amz-request-id
MZNN5AJ6XABK5QBR
via
1.1 varnish
cache-control
private,max-age=14401
accept-ranges
bytes
content-type
application/javascript; charset=utf-8
abp
71
x-cache-hits
2
plataformacore.min.js
service.smarthint.co/Scripts/i/
840 B
1 KB
Script
General
Full URL
https://service.smarthint.co/Scripts/i/plataformacore.min.js
Requested by
Host: informativocdp.com.br.admin-eu.cas.ms
URL: https://informativocdp.com.br.admin-eu.cas.ms/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/
Resource Hash
bcc9004a270b1e74dbc1713266c9ecbb920b4e5d93c53d627c1302a3abb6f398

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:27 GMT
Last-Modified
Thu, 27 Feb 2020 19:58:02 GMT
ETag
"0819337a8edd51:0"
Content-Type
application/javascript
Access-Control-Allow-Origin
*
Cache-Control
max-age=3600
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
840
fbevents.js
connect.facebook.net/en_US/
92 KB
23 KB
Script
General
Full URL
https://connect.facebook.net/en_US/fbevents.js
Requested by
Host: informativocdp.com.br.admin-eu.cas.ms
URL: https://informativocdp.com.br.admin-eu.cas.ms/
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a03:2880:f01c:8012:face:b00c:0:3 Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
/
Resource Hash
a517525b8a7d39bcaf1cf5f9695c5be8fce7a6b920a3924c1a4f70e8ea748c05
Security Headers
Name Value
Content-Security-Policy default-src * data: blob: 'self';script-src *.facebook.com *.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net *.google.com 127.0.0.1:* 'unsafe-inline' 'unsafe-eval' blob: data: 'self';style-src data: blob: 'unsafe-inline' *;connect-src *.facebook.com facebook.com *.fbcdn.net *.facebook.net wss://*.facebook.com:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';block-all-mixed-content;upgrade-insecure-requests;
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

content-security-policy
default-src * data: blob: 'self';script-src *.facebook.com *.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net *.google.com 127.0.0.1:* 'unsafe-inline' 'unsafe-eval' blob: data: 'self';style-src data: blob: 'unsafe-inline' *;connect-src *.facebook.com facebook.com *.fbcdn.net *.facebook.net wss://*.facebook.com:* attachment.fbsbx.com ws://localhost:* blob: *.cdninstagram.com 'self';block-all-mixed-content;upgrade-insecure-requests;
content-encoding
gzip
x-content-type-options
nosniff
x-xss-protection
0
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
content-length
23959
x-fb-rlafr
0
pragma
public
x-fb-debug
Ej+DMvKg1qHQJFNGeTjLl6K927Aj0BRgF8sGv1yrHN2D0JRbNk5m8PSCy5WhB85T/Och+lMJR5AWVNrZ8U3cEQ==
x-frame-options
DENY
date
Tue, 11 May 2021 04:50:27 GMT
strict-transport-security
max-age=31536000; preload; includeSubDomains
content-type
application/x-javascript; charset=utf-8
vary
Accept-Encoding
cache-control
public, max-age=1200
priority
u=3,i
expires
Sat, 01 Jan 2000 00:00:00 GMT
collect
www.google-analytics.com/
35 B
55 B
Image
General
Full URL
https://www.google-analytics.com/collect?v=1&_v=j90&a=1104073430&t=pageview&_s=1&dl=https%3A%2F%2Fwww.casadopapel.com.br%2F&ul=en-us&de=UTF-8&dt=Casa%20do%20Papel%20%7C%20Do%20Estudo%20ao%20Trabalho%20Sempre%20com%20Voc%C3%AA&sd=24-bit&sr=1600x1200&vp=1600x1200&je=0&_u=aHDAgUIJHAAAAE~&jid=186705247&gjid=119198871&cid=317336560.1620708627&tid=UA-65759134-2&_gid=945822706.1620708627&gtm=2wg4s0572FTCR&z=2085341865
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
Golfe2 /
Resource Hash
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
Security Headers
Name Value
X-Content-Type-Options nosniff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Mon, 10 May 2021 23:06:23 GMT
x-content-type-options
nosniff
last-modified
Sun, 17 May 1998 03:00:00 GMT
server
Golfe2
age
20644
content-type
image/gif
access-control-allow-origin
*
cache-control
no-cache, no-store, must-revalidate
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
35
expires
Mon, 01 Jan 1990 00:00:00 GMT
ld.js
static.criteo.net/js/ld/
36 KB
12 KB
Script
General
Full URL
https://static.criteo.net/js/ld/ld.js
Requested by
Host: www.googletagmanager.com
URL: https://www.googletagmanager.com/gtm.js?id=GTM-572FTCR
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a02:2638:1::3 , France, ASN44788 (ASN-CRITEO-EUROPE, FR),
Reverse DNS
Software
nginx /
Resource Hash
78dc1d813da12c0a30b5f00242c82b9cd577771cf689d3d1061fea6cc9613cc0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
last-modified
Wed, 07 Apr 2021 11:44:21 GMT
server
nginx
etag
W/"606d9b15-9076"
content-type
text/javascript
access-control-allow-origin
*
cache-control
max-age=86400, public
cross-origin-resource-policy
cross-origin
timing-allow-origin
*
expires
Wed, 12 May 2021 04:50:27 GMT
355058681625568
connect.facebook.net/signals/config/
254 KB
72 KB
Script
General
Full URL
https://connect.facebook.net/signals/config/355058681625568?v=2.9.39&r=stable
Requested by
Host: connect.facebook.net
URL: https://connect.facebook.net/en_US/fbevents.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a03:2880:f01c:8012:face:b00c:0:3 Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
/
Resource Hash
fd07a4411ce0dea1586bf9ed82430e39393a0506a61e3d93e5d4d98e804438f8
Security Headers
Name Value
Content-Security-Policy default-src facebook.net *.facebook.net fbcdn.net *.fbcdn.net fbsbx.com *.fbsbx.com data: blob: 'self';script-src *.fbcdn.net *.facebook.net 'unsafe-inline' 'unsafe-eval' blob: data: 'self';style-src data: blob: 'unsafe-inline' facebook.net *.facebook.net fbcdn.net *.fbcdn.net fbsbx.com *.fbsbx.com;connect-src *.fbcdn.net *.facebook.net attachment.fbsbx.com blob: 'self';block-all-mixed-content;upgrade-insecure-requests;report-uri https://www.facebook.com/csp/reporting/?m=c;
Strict-Transport-Security max-age=31536000; preload; includeSubDomains
X-Content-Type-Options nosniff
X-Frame-Options DENY
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

content-security-policy
default-src facebook.net *.facebook.net fbcdn.net *.fbcdn.net fbsbx.com *.fbsbx.com data: blob: 'self';script-src *.fbcdn.net *.facebook.net 'unsafe-inline' 'unsafe-eval' blob: data: 'self';style-src data: blob: 'unsafe-inline' facebook.net *.facebook.net fbcdn.net *.fbcdn.net fbsbx.com *.fbsbx.com;connect-src *.fbcdn.net *.facebook.net attachment.fbsbx.com blob: 'self';block-all-mixed-content;upgrade-insecure-requests;report-uri https://www.facebook.com/csp/reporting/?m=c;
content-encoding
gzip
x-content-type-options
nosniff
x-xss-protection
0
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
x-fb-rlafr
0
pragma
public
x-fb-debug
gBLirFCFKhGkKON84z+42LVUdyG6YdNumTGJgR75t8v4G9SzOl18aeVgBke/UCXBi5ta9KOJzpm3WQeiAxDIAA==
cross-origin-embedder-policy-report-only
require-corp;report-to="coep_report"
cross-origin-opener-policy
same-origin-allow-popups
x-frame-options
DENY
date
Tue, 11 May 2021 04:50:27 GMT
strict-transport-security
max-age=31536000; preload; includeSubDomains
report-to
{"group":"coep_report","max_age":86400,"endpoints":[{"url":"https:\/\/www.facebook.com\/browser_reporting\/"}]}
content-type
application/x-javascript; charset=utf-8
vary
Accept-Encoding
cache-control
public, max-age=1200
priority
u=3,i
expires
Sat, 01 Jan 2000 00:00:00 GMT
call-tracking_7.js
www.gstatic.com/call-tracking/
54 KB
21 KB
Script
General
Full URL
https://www.gstatic.com/call-tracking/call-tracking_7.js
Requested by
Host: www.gstatic.com
URL: https://www.gstatic.com/wcm/loader.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:82f::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
sffe /
Resource Hash
ff2fde453aa6220144126828a284d4cc227479f1fe83beef3a6b6a4504c7e4df
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 10:22:44 GMT
content-encoding
gzip
x-content-type-options
nosniff
last-modified
Wed, 03 Feb 2021 22:45:00 GMT
server
sffe
age
66463
vary
Accept-Encoding
content-type
text/javascript
cache-control
public, max-age=31536000
cross-origin-resource-policy
cross-origin
accept-ranges
bytes
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
21020
x-xss-protection
0
expires
Tue, 10 May 2022 10:22:44 GMT
ga-audiences
www.google.com/ads/
42 B
505 B
Image
General
Full URL
https://www.google.com/ads/ga-audiences?t=sr&aip=1&_r=4&slf_rd=1&v=1&_v=j90&tid=UA-65759134-4&cid=317336560.1620708627&jid=1666182437&_u=aHBAgUIJHAAAAE~&z=1825704820
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:808::2004 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
cache-control
no-cache, no-store, must-revalidate
cross-origin-resource-policy
cross-origin
content-type
image/gif
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
ga-audiences
www.google.de/ads/
42 B
505 B
Image
General
Full URL
https://www.google.de/ads/ga-audiences?t=sr&aip=1&_r=4&slf_rd=1&v=1&_v=j90&tid=UA-65759134-4&cid=317336560.1620708627&jid=1666182437&_u=aHBAgUIJHAAAAE~&z=1825704820
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:829::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
cache-control
no-cache, no-store, must-revalidate
cross-origin-resource-policy
cross-origin
content-type
image/gif
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
/
googleads.g.doubleclick.net/pagead/viewthroughconversion/856969980/
2 KB
2 KB
Script
General
Full URL
https://googleads.g.doubleclick.net/pagead/viewthroughconversion/856969980/?random=1620708627082&cv=9&fst=1620708627082&num=1&guid=ON&resp=GooglemKTybQhCsO&eid=376635471%2C2505059650&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_his=3&u_tz=120&u_java=false&u_nplug=0&u_nmime=0&gtm=2wg4s0&sendb=1&ig=1&frm=0&url=https%3A%2F%2Fwww.casadopapel.com.br%2F&tiba=Casa%20do%20Papel%20%7C%20Do%20Estudo%20ao%20Trabalho%20Sempre%20com%20Voc%C3%AA&hn=www.googleadservices.com&async=1&rfmt=3&fmt=4
Requested by
Host: www.googleadservices.com
URL: https://www.googleadservices.com/pagead/conversion_async.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:80f::2002 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
b00342dea78d65a39d41e9d1f6d40c0ba55366c01114652a326da1bda72c508e
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
cache-control
no-cache, must-revalidate
cross-origin-resource-policy
cross-origin
content-disposition
attachment; filename="f.txt"
content-type
text/javascript; charset=UTF-8
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
1049
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
pixel
bid.g.doubleclick.net/xbbe/ Frame C2FC
0
563 B
Document
General
Full URL
https://bid.g.doubleclick.net/xbbe/pixel?d=KAE
Requested by
Host: www.googleadservices.com
URL: https://www.googleadservices.com/pagead/conversion_async.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
142.251.5.156 , United States, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

:method
GET
:authority
bid.g.doubleclick.net
:scheme
https
:path
/xbbe/pixel?d=KAE
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site
cross-site
sec-fetch-mode
navigate
sec-fetch-dest
iframe
referer
https://www.casadopapel.com.br/
accept-encoding
gzip, deflate, br
accept-language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Referer
https://www.casadopapel.com.br/

Response headers

p3p
policyref="https://googleads.g.doubleclick.net/pagead/gcn_p3p_.xml", CP="CURa ADMa DEVa TAIo PSAo PSDo OUR IND UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
timing-allow-origin
*
cross-origin-resource-policy
cross-origin
content-type
text/html; charset=UTF-8
x-content-type-options
nosniff
date
Tue, 11 May 2021 04:50:27 GMT
server
cafe
content-length
0
x-xss-protection
0
set-cookie
test_cookie=CheckForPermission; expires=Tue, 11-May-2021 05:05:27 GMT; path=/; domain=.doubleclick.net; Secure; SameSite=none
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
expires
Tue, 11 May 2021 04:50:27 GMT
cache-control
private
/
www.google.com/pagead/1p-user-list/856969980/
42 B
64 B
Image
General
Full URL
https://www.google.com/pagead/1p-user-list/856969980/?random=1620708627082&cv=9&fst=1620705600000&num=1&guid=ON&eid=376635471%2C2505059650&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_his=3&u_tz=120&u_java=false&u_nplug=0&u_nmime=0&gtm=2wg4s0&sendb=1&frm=0&url=https%3A%2F%2Fwww.casadopapel.com.br%2F&tiba=Casa%20do%20Papel%20%7C%20Do%20Estudo%20ao%20Trabalho%20Sempre%20com%20Voc%C3%AA&async=1&fmt=3&is_vtc=1&random=1668226438&resp=GooglemKTybQhCsO&rmt_tld=0&ipr=y
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::2004 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
Content-Security-Policy script-src 'none'; object-src 'none'
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
cache-control
no-cache, no-store, must-revalidate
cross-origin-resource-policy
cross-origin
content-security-policy
script-src 'none'; object-src 'none'
content-type
image/gif
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
/
www.google.de/pagead/1p-user-list/856969980/
42 B
64 B
Image
General
Full URL
https://www.google.de/pagead/1p-user-list/856969980/?random=1620708627082&cv=9&fst=1620705600000&num=1&guid=ON&eid=376635471%2C2505059650&u_h=1200&u_w=1600&u_ah=1200&u_aw=1600&u_cd=24&u_his=3&u_tz=120&u_java=false&u_nplug=0&u_nmime=0&gtm=2wg4s0&sendb=1&frm=0&url=https%3A%2F%2Fwww.casadopapel.com.br%2F&tiba=Casa%20do%20Papel%20%7C%20Do%20Estudo%20ao%20Trabalho%20Sempre%20com%20Voc%C3%AA&async=1&fmt=3&is_vtc=1&random=1668226438&resp=GooglemKTybQhCsO&rmt_tld=1&ipr=y
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:829::2003 Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
cafe /
Resource Hash
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
Security Headers
Name Value
Content-Security-Policy script-src 'none'; object-src 'none'
X-Content-Type-Options nosniff
X-Xss-Protection 0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
x-content-type-options
nosniff
server
cafe
timing-allow-origin
*
p3p
policyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"
cache-control
no-cache, no-store, must-revalidate
cross-origin-resource-policy
cross-origin
content-security-policy
script-src 'none'; object-src 'none'
content-type
image/gif
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
content-length
42
x-xss-protection
0
expires
Fri, 01 Jan 1990 00:00:00 GMT
/
www.facebook.com/tr/
44 B
88 B
Image
General
Full URL
https://www.facebook.com/tr/?id=355058681625568&ev=PageView&dl=https%3A%2F%2Fwww.casadopapel.com.br%2F&rl=&if=false&ts=1620708627178&sw=1600&sh=1200&v=2.9.39&r=stable&ec=0&o=30&fbp=fb.2.1620708627175.29543003&it=1620708627034&coo=false&exp=l1&rqm=GET
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a03:2880:f11c:8183:face:b00c:0:25de Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
proxygen-bolt /
Resource Hash
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:27 GMT
last-modified
Fri, 21 Dec 2012 00:00:01 GMT
server
proxygen-bolt
strict-transport-security
max-age=31536000; includeSubDomains
content-type
image/gif
cache-control
no-cache, must-revalidate, max-age=0
cross-origin-resource-policy
cross-origin
content-length
44
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
priority
u=3,i
expires
Tue, 11 May 2021 04:50:27 GMT
CheckActiveAccount
service.smarthint.co/box/
77 B
464 B
Script
General
Full URL
https://service.smarthint.co/box/CheckActiveAccount?key=SH-253245&callback=jQuery17106200479639774021_1620708624446&_=1620708627341
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
63c02b78ce5133d456190865f76fe55104eb2dc5ccc225f0d0d3a510a8fbc7ff

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:27 GMT
Content-Encoding
gzip
X-Powered-By
ASP.NET
Vary
Accept-Encoding
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Connection
keep-alive
Content-Length
197
collect
www.google-analytics.com/
0
0
Ping
General
Full URL
https://www.google-analytics.com/collect
Requested by
Host: www.google-analytics.com
URL: https://www.google-analytics.com/analytics.js
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a00:1450:4001:808::200e Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Content-Type
text/plain;charset=UTF-8

Response headers

PlataformaCore.Full.min.js
static.smarthint.co/Scripts/i/
115 KB
28 KB
Script
General
Full URL
https://static.smarthint.co/Scripts/i/PlataformaCore.Full.min.js?v=1
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/Scripts/i/plataformacore.min.js
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache /
Resource Hash
84770ea8d4cfbcf7d51c45d7d9b9d753dacba80ae473aa63db2c336aa80552de

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
last-modified
Fri, 15 Jan 2021 11:14:18 GMT
server
gocache
etag
W/"1cc4a-5b8ee7928d680"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:27 GMT
event
widget.us.criteo.com/
Redirect Chain
  • https://sslwidget.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529
  • https://widget.us.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529
1 KB
1 KB
Script
General
Full URL
https://widget.us.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
74.119.119.150 , United States, ASN19750 (AS-CRITEO, US),
Reverse DNS
Software
Microsoft-IIS/10.0 / ASP.NET
Resource Hash
36f3e41a8dccb6f90f471726f651fef48ab8197d1097f94248dc11101f668855

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
content-encoding
gzip
server
Microsoft-IIS/10.0
timing-allow-origin
*
x-powered-by
ASP.NET
vary
Accept-Encoding
p3p
NON DSP COR CURa PSA PSD OUR BUS NAV STA
cache-control
no-cache
cross-origin-resource-policy
cross-origin
server-processing-duration-in-ticks
31494
content-type
application/x-javascript
content-length
864
expires
0

Redirect headers

pragma
no-cache
date
Tue, 11 May 2021 04:50:27 GMT
server
Microsoft-IIS/10.0
location
https://widget.us.criteo.com/event?a=66765&v=5.6.3&p0=e%3Dce%26m%3D%255B%255D&p1=e%3Dexd%26site_type%3Dd&p2=e%3Dvh&p3=e%3Ddis&adce=1&tld=casadopapel.com.br&dtycbr=83529
cache-control
no-cache
cross-origin-resource-policy
cross-origin
server-processing-duration-in-ticks
6107
timing-allow-origin
*
content-length
0
expires
0
syncframe
gum.criteo.com/ Frame AFD5
0
193 B
Document
General
Full URL
https://gum.criteo.com/syncframe?topUrl=www.casadopapel.com.br&origin=onetag
Requested by
Host: static.criteo.net
URL: https://static.criteo.net/js/ld/ld.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a02:2638::1c , France, ASN44788 (ASN-CRITEO-EUROPE, FR),
Reverse DNS
Software
/
Resource Hash
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Security Headers
Name Value
Strict-Transport-Security max-age=31536000

Request headers

:method
GET
:authority
gum.criteo.com
:scheme
https
:path
/syncframe?topUrl=www.casadopapel.com.br&origin=onetag
pragma
no-cache
cache-control
no-cache
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
sec-fetch-site
cross-site
sec-fetch-mode
navigate
sec-fetch-dest
iframe
referer
https://www.casadopapel.com.br/
accept-encoding
gzip, deflate, br
accept-language
en-US
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Referer
https://www.casadopapel.com.br/

Response headers

cache-control
private, max-age=0
content-type
text/html; charset=utf-8
strict-transport-security
max-age=31536000
cross-origin-resource-policy
cross-origin
server-processing-duration-in-ticks
1734
date
Tue, 11 May 2021 04:50:27 GMT
content-length
0
/
www.facebook.com/tr/
44 B
88 B
Image
General
Full URL
https://www.facebook.com/tr/?id=355058681625568&ev=Microdata&dl=https%3A%2F%2Fwww.casadopapel.com.br%2F&rl=&if=false&ts=1620708628699&cd[DataLayer]=%5B%5D&cd[Meta]=%7B%22title%22%3A%22Casa%20do%20Papel%20%7C%20Do%20Estudo%20ao%20Trabalho%20Sempre%20com%20Voc%C3%AA%22%2C%22meta%3Adescription%22%3A%22Produtos%20para%20seu%20home%20office%2C%20higiene%20e%20limpeza%2C%20organiza%C3%A7%C3%A3o%2C%20embalagens%20e%20muito%20mais.%20Frete%20gr%C3%A1tis*.%22%2C%22meta%3Akeywords%22%3A%22%22%7D&cd[OpenGraph]=%7B%7D&cd[Schema.org]=%5B%5D&cd[JSON-LD]=%5B%5D&sw=1600&sh=1200&v=2.9.39&r=stable&ec=1&o=30&fbp=fb.2.1620708627175.29543003&it=1620708627034&coo=false&es=automatic&tm=3&exp=l1&rqm=GET
Protocol
H3-29
Security
QUIC, , AES_128_GCM
Server
2a03:2880:f11c:8183:face:b00c:0:25de Frankfurt am Main, Germany, ASN32934 (FACEBOOK, US),
Reverse DNS
Software
proxygen-bolt /
Resource Hash
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:28 GMT
last-modified
Fri, 21 Dec 2012 00:00:01 GMT
server
proxygen-bolt
strict-transport-security
max-age=31536000; includeSubDomains
content-type
image/gif
cache-control
no-cache, must-revalidate, max-age=0
cross-origin-resource-policy
cross-origin
content-length
44
alt-svc
h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
priority
u=3,i
expires
Tue, 11 May 2021 04:50:28 GMT
GetInitialData
service.smarthint.co/box/
69 KB
15 KB
Script
General
Full URL
https://service.smarthint.co/box/GetInitialData?callback=jQuery17106200479639774021_1620708624447&key=SH-253245&pageType=home&searchTest=false&recommendationEnabled=false&recommendationLocalDisable=false&currentUrl=https%3A%2F%2Fwww.casadopapel.com.br%2F&_=1620708630494
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
f4536525ac73837afdcd68a2d3ebdbc1a9f005be5c7b09944c20f3adb95bb8a0

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:30 GMT
Content-Encoding
gzip
X-Powered-By
ASP.NET
Vary
Accept-Encoding
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Connection
keep-alive
Content-Length
15363
acquireConsumer
service.smarthint.co/track/
104 B
667 B
Script
General
Full URL
https://service.smarthint.co/track/acquireConsumer?callback=jQuery17106200479639774021_1620708624448&key=SH-253245&_=1620708630494
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
f11285ac5d47e5c96ca9344dea1d91b8343166b32e8383d1c755e22052ac3664

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:30 GMT
Content-Encoding
gzip
X-Powered-By
ASP.NET
Vary
Accept-Encoding
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Connection
keep-alive
Content-Length
223
createSession
service.smarthint.co/track/
94 B
660 B
Script
General
Full URL
https://service.smarthint.co/track/createSession?callback=jQuery17106200479639774021_1620708624449&key=SH-253245&_=1620708630495
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
04075dd117d6b76c3bda9e2834fc35cb9374194b412378bd1141811bc3201980

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:30 GMT
Content-Encoding
gzip
X-Powered-By
ASP.NET
Vary
Accept-Encoding
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Connection
keep-alive
Content-Length
216
Overlay.PlataformaCore.min.js
static.smarthint.co/Scripts/i/
18 KB
4 KB
Script
General
Full URL
https://static.smarthint.co/Scripts/i/Overlay.PlataformaCore.min.js
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/Scripts/i/PlataformaCore.Full.min.js?v=1
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache /
Resource Hash
dca4bf9c1d0d72a328b01a79c43be8be104a9ca890a4b69bb5d55c2ffb6876a6

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:29 GMT
content-encoding
gzip
last-modified
Thu, 25 Feb 2021 13:21:52 GMT
server
gocache
etag
W/"46dd-5bc2908e6df1d"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:29 GMT
GetFrontEndConfig
search.smarthint.co/v5/Search/
14 KB
4 KB
Script
General
Full URL
https://search.smarthint.co/v5/Search/GetFrontEndConfig?shcode=SH-253245&callback=jQuery17106200479639774021_1620708624450&_=1620708630718
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.13.25 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/
Resource Hash
92ea73add2fbb7f75df6a16d1911e06de6fb5df78afa84758dd44342d05af977

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:31 GMT
Content-Encoding
br
SmartHint-Resource
image-search-v5-7-new-product-v15-541472
Vary
Accept-Encoding
Content-Type
text/plain; charset=utf-8
Access-Control-Allow-Origin
*
Transfer-Encoding
chunked
Connection
keep-alive
MostPopular
service.smarthint.co/recommendation/
26 KB
5 KB
Script
General
Full URL
https://service.smarthint.co/recommendation/MostPopular?callback=jQuery17106200479639774021_1620708624451&key=SH-253245&currentUrl=https%3A%2F%2Fwww.casadopapel.com.br%2F&_=1620708630720
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
1681889191121663b299932f5b7217c52b387a3efaae75148954b0bf2a32e350

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:30 GMT
Content-Encoding
gzip
X-Powered-By
ASP.NET
Vary
Accept-Encoding
Content-Type
text/html; charset=utf-8
Access-Control-Allow-Origin
*
Cache-Control
private
Connection
keep-alive
Content-Length
5191
1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
10 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 24 Apr 2021 09:18:47 GMT
server
AmazonS3
age
314401
etag
"e98ab2e97f7c6319bddb7786302929e8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10515
x-amz-cf-id
tnz14K7PQQ-HWwcXDLBwybs1hbRTE1xNlaJf_LpCv7Col4opBD3j0w==
1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 01:00:48 GMT
server
AmazonS3
age
568683
etag
"117cbcc63b2c51de12cfd582ba1ddad7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13245
x-amz-cf-id
mtY-RvbI4ACQnV8LKI9XPy4HEJxjs_mLBYFXOH6WywOTekwDzkAeVQ==
login
www.casadopapel.com.br/
Redirect Chain
  • https://www.casadopapel.com.br/Profile/AccountWishlist/GetOrCreateDefault
  • https://www.casadopapel.com.br/login?url=/Profile/AccountWishlist/GetOrCreateDefault
402 KB
49 KB
XHR
General
Full URL
https://www.casadopapel.com.br/login?url=/Profile/AccountWishlist/GetOrCreateDefault
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_256_GCM
Server
34.231.96.45 Ashburn, United States, ASN14618 (AMAZON-AES, US),
Reverse DNS
ec2-34-231-96-45.compute-1.amazonaws.com
Software
SecurityCore /
Resource Hash
d3ded1b8a776a57b98c6294f124eb2a12921aba32c1dde936b72a1545d05e5c5
Security Headers
Name Value
Content-Security-Policy upgrade-insecure-requests
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Frame-Options sameorigin
X-Xss-Protection 1; mode=block

Request headers

sec-fetch-mode
cors
accept-encoding
gzip, deflate, br
accept-language
en-US
x-requested-with
XMLHttpRequest
sec-fetch-dest
empty
cookie
SmartHint-AnonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229; SmartHint-Session=3a2961c8-787e-4f1c-a7df-268213684a30; lcsid=asvmle3bhfpaqdkkyzkhr2ha; Vary-Cookie=WS166CS1WH1PL1CF0V1
:path
/login?url=/Profile/AccountWishlist/GetOrCreateDefault
pragma
no-cache
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
accept
*/*
cache-control
no-cache
:authority
www.casadopapel.com.br
referer
https://www.casadopapel.com.br/
:scheme
https
sec-fetch-site
same-origin
:method
GET
Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
gzip
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-length
49371
x-xss-protection
1; mode=block
pragma
no-cache
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
x-frame-options
sameorigin
expect-ct
max-age=31536000, enforce
vary
Accept-Encoding
content-type
text/html; charset=utf-8
cache-control
private,no-cache,no-store,no-transform,must-revalidate,max-age=0
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
accept-ranges
bytes

Redirect headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
gzip
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-length
152
x-xss-protection
1; mode=block
pragma
no-cache
referrer-policy
no-referrer-when-downgrade
server
SecurityCore
x-frame-options
sameorigin
expect-ct
max-age=31536000, enforce
vary
Accept-Encoding
content-type
text/html; charset=utf-8
location
/login?url=/Profile/AccountWishlist/GetOrCreateDefault
cache-control
private,no-cache,no-store,no-transform,must-revalidate,max-age=0
feature-policy
payment 'self'; fullscreen 'self'; microphone 'none'; camera 'none'
content-security-policy
upgrade-insecure-requests
set-cookie
lcsid=asvmle3bhfpaqdkkyzkhr2ha; domain=casadopapel.com.br; path=/; secure; SameSite=Lax Vary-Cookie=WS166CS1WH1PL1CF0V1; path=/; secure
992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8905f3d5fab91fee32ccce1deb8017863fa4dd6c69fa1068ce31d6b963a57221

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:03:02 GMT
server
AmazonS3
age
49234
etag
"ba06f2e8294cd9b372513da8321dc2de"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13459
x-amz-cf-id
jvncfB1rceoRAzjBcGDein-IiLMjq2vfmrF0xn7gE1VVBl44zg7T8Q==
1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f0f025dbcaf2a4f39d879e7713517cb6f1e7bf47366596122babab1783a86723

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 17:27:46 GMT
server
AmazonS3
age
49234
etag
"e1fbc1fa5ba4870a1a120fbd9a9568d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11902
x-amz-cf-id
dUrUf5-CljCUgZjzukA933CixrlItKYuedIKXYLNqh9D1RkZinYG0A==
993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/
15 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:58 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:27 GMT
server
AmazonS3
age
49233
etag
"a1f8a4b4546a6b31d3dcf59e8fe664cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14970
x-amz-cf-id
Ud4jLxF4TF67za2pxuK2GgwLLhQUrxFn_iLJ0MQnn3qDpDeq5kJayA==
992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4910831f9284400786e82e166985c0dde1cb0040b7f489d689672e8709a9cf43

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:22:03 GMT
server
AmazonS3
age
49233
etag
"c0054c14d43e9d5270b1cfc48a1d34fd"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10902
x-amz-cf-id
cP9BX-OWMhn4SILLDfGfn5zMhboJogXzKjeXhyXYidl6urKWFKomDA==
993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e6edd755d3e4a594157b78c26ff258705f63ea7eb3ee2cf1de45648014d282c5

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 12:03:07 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:22 GMT
server
AmazonS3
age
60444
etag
"dec6953171805e66563e17275082433b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13313
x-amz-cf-id
SuIFcGJUQ7s99Ax_ezy9jVYwLPJPrfg_7SCLH4PI__kuVPd14EIuSw==
Cookie set leavingpage
service.smarthint.co/overlay/ Frame 453B
25 KB
6 KB
Document
General
Full URL
https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/ ASP.NET
Resource Hash
b25ef43c6cf4fb5e5e31b7b15586e6752362e476f8ca27d2effe17664bc270cf

Request headers

Host
service.smarthint.co
Connection
keep-alive
Pragma
no-cache
Cache-Control
no-cache
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site
cross-site
Sec-Fetch-Mode
navigate
Sec-Fetch-Dest
iframe
Referer
https://www.casadopapel.com.br/
Accept-Encoding
gzip, deflate, br
Accept-Language
en-US
Cookie
SmartHint-AnonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229; SmartHint-Session-SH-253245=3a2961c8-787e-4f1c-a7df-268213684a30
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Referer
https://www.casadopapel.com.br/

Response headers

Date
Tue, 11 May 2021 04:50:31 GMT
Content-Type
text/html; charset=utf-8
Content-Length
6048
Connection
keep-alive
Cache-Control
private
Content-Encoding
gzip
Vary
Accept-Encoding
Set-Cookie
SmartHint-Session-SH-253245=3a2961c8-787e-4f1c-a7df-268213684a30; expires=Tue, 11-May-2021 05:20:31 GMT; path=/; secure; SameSite=None
X-Powered-By
ASP.NET
Access-Control-Allow-Origin
*
jquery-3.2.1.min.js
static.smarthint.co/plugins/jquery/ Frame 453B
85 KB
31 KB
Script
General
Full URL
https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
87083882cc6015984eb0411a99d3981817f5dc5c90ba24f0940420c5548d82de

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:30 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
jquery-ui.min.js
static.smarthint.co/plugins/jquery/ Frame 453B
248 KB
70 KB
Script
General
Full URL
https://static.smarthint.co/plugins/jquery/jquery-ui.min.js
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
55accff7b642c2d7a402cbe03c1494c0f14a76bc03dee9d47d219562b6a152a5

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:30 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
bootstrap.min.css
static.smarthint.co/plugins/bootstrap/css/ Frame 453B
118 KB
21 KB
Stylesheet
General
Full URL
https://static.smarthint.co/plugins/bootstrap/css/bootstrap.min.css
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
f75e846cc83bd11432f4b1e21a45f31bc85283d11d372f7b19accd1bf6a2635c

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:30 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
text/css
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
bootstrap.min.js
static.smarthint.co/plugins/bootstrap/js/ Frame 453B
36 KB
10 KB
Script
General
Full URL
https://static.smarthint.co/plugins/bootstrap/js/bootstrap.min.js
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
53964478a7c634e8dad34ecc303dd8048d00dce4993906de1bacf67f663486ef

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:30 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
font-awesome.min.css
stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/ Frame 453B
30 KB
7 KB
Stylesheet
General
Full URL
https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2606:4700::6812:acf , United States, ASN13335 (CLOUDFLARENET, US),
Reverse DNS
Software
cloudflare /
Resource Hash
799aeb25cc0373fdee0e1b1db7ad6c2f6a0e058dfadaa3379689f583213190bd
Security Headers
Name Value
Strict-Transport-Security max-age=31536000; includeSubDomains; preload
X-Content-Type-Options nosniff

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
br
x-content-type-options
nosniff
cf-cache-status
HIT
cdn-edgestorageid
723, 617, 617
age
4262078
cdn-cachedat
2021-03-11 11:57:51
cdn-pullzone
252412
cross-origin-resource-policy
cross-origin
alt-svc
h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
cf-request-id
09fb5c3b77000005cc7d023000000001
timing-allow-origin
*
access-control-allow-origin
*
last-modified
Mon, 25 Jan 2021 22:04:55 GMT
server
cloudflare
cdn-requestpullcode
200
expect-ct
max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
strict-transport-security
max-age=31536000; includeSubDomains; preload
content-type
text/css; charset=utf-8
cdn-cache
HIT
vary
Accept-Encoding
cache-control
public, max-age=31919000
cdn-uid
b1941f61-b576-4f40-80de-5677acb38f74
cdn-requestid
6fc1a75116c932681ed09108db37b84c
cf-ray
64d8c9725af805cc-FRA
cdn-requestcountrycode
DE
cdn-requestpullsuccess
True
clipboard.min.js
static.smarthint.co/plugins/ Frame 453B
11 KB
4 KB
Script
General
Full URL
https://static.smarthint.co/plugins/clipboard.min.js
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
0da7fc1ae23678b2872653962d147fcd1cbd0a5a9c8f84d44ae99bc581fd9062

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:30 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
css2
fonts.googleapis.com/ Frame 453B
2 KB
620 B
Stylesheet
General
Full URL
https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2a00:1450:4001:82f::200a Frankfurt am Main, Germany, ASN15169 (GOOGLE, US),
Reverse DNS
Software
ESF /
Resource Hash
4b255fa0ef430718e3ee7fce61b25be80a70671f49385c51d811f9abf96f0a75
Security Headers
Name Value
Strict-Transport-Security max-age=31536000
X-Content-Type-Options nosniff
X-Frame-Options SAMEORIGIN
X-Xss-Protection 0

Request headers

Referer
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

strict-transport-security
max-age=31536000
content-encoding
gzip
x-content-type-options
nosniff
cross-origin-resource-policy
cross-origin
alt-svc
h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
x-xss-protection
0
last-modified
Tue, 11 May 2021 03:39:20 GMT
server
ESF
date
Tue, 11 May 2021 04:50:31 GMT
x-frame-options
SAMEORIGIN
content-type
text/css; charset=utf-8
access-control-allow-origin
*
cache-control
private, max-age=86400, stale-while-revalidate=604800
timing-allow-origin
*
link
<https://fonts.gstatic.com>; rel=preconnect; crossorigin
expires
Tue, 11 May 2021 04:50:31 GMT
no-image.jpg
service.smarthint.co/ClientImages/ Frame 453B
608 B
862 B
Image
General
Full URL
https://service.smarthint.co/ClientImages/no-image.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
HTTP/1.1
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
129.213.71.140 Ashburn, United States, ASN31898 (ORACLE-BMC-31898, US),
Reverse DNS
Software
/
Resource Hash
a6b3924be8c0b52b91fc0a4f6704bf349bbf22f3cbe5a4d0223ad3c39973e58d

Request headers

Referer
https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

Date
Tue, 11 May 2021 04:50:32 GMT
Last-Modified
Mon, 21 Oct 2019 03:00:00 GMT
ETag
"260-59562e1222c00"
Content-Type
image/jpeg
Access-Control-Allow-Origin
*
Connection
keep-alive
Accept-Ranges
bytes
Content-Length
608
1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/ Frame 453B
10 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 24 Apr 2021 09:18:47 GMT
server
AmazonS3
age
314403
etag
"e98ab2e97f7c6319bddb7786302929e8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10515
x-amz-cf-id
Pj8e9DSd0nRfZVZzupd7MzQn3RRIuwXiOLnUvunamZCCZHQ1FFP8sw==
992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8905f3d5fab91fee32ccce1deb8017863fa4dd6c69fa1068ce31d6b963a57221

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:03:02 GMT
server
AmazonS3
age
49236
etag
"ba06f2e8294cd9b372513da8321dc2de"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13459
x-amz-cf-id
Lp5ZSlUpo6V-p_4B5agJcPQ6qnsJOh1NTwttjn_wqNBWHCk4uG8e0w==
1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/ Frame 453B
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f0f025dbcaf2a4f39d879e7713517cb6f1e7bf47366596122babab1783a86723

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 17:27:46 GMT
server
AmazonS3
age
49236
etag
"e1fbc1fa5ba4870a1a120fbd9a9568d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11902
x-amz-cf-id
tgRw6hSSwi-6uIKT9lFGL7uCQUGcGBx9BDQDO4zWbeSBpZfg9OqdJg==
1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 01:00:48 GMT
server
AmazonS3
age
568685
etag
"117cbcc63b2c51de12cfd582ba1ddad7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13245
x-amz-cf-id
pxfZJoU88fcdoY-1xi3zgSp8_bMqdWp8jvVmUZQ97NFVjaP7ZkLz9g==
993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/ Frame 453B
15 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:58 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:27 GMT
server
AmazonS3
age
49235
etag
"a1f8a4b4546a6b31d3dcf59e8fe664cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14970
x-amz-cf-id
hfNiSbXt3sSvF_DlwLgbbS-agcV3wF0henC882Qjt0a1hnR8fGQw6w==
992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/ Frame 453B
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4910831f9284400786e82e166985c0dde1cb0040b7f489d689672e8709a9cf43

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:22:03 GMT
server
AmazonS3
age
49235
etag
"c0054c14d43e9d5270b1cfc48a1d34fd"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10902
x-amz-cf-id
DPg3xuOKRzoXdiK4luok95ATyME4WEXa9VJVro7awfgxqEk6NjV_zA==
993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e6edd755d3e4a594157b78c26ff258705f63ea7eb3ee2cf1de45648014d282c5

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 12:03:07 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:22 GMT
server
AmazonS3
age
60446
etag
"dec6953171805e66563e17275082433b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13313
x-amz-cf-id
x0YnsASF-jlcHE__9CFCQwRy0Ntxi6vNiPkmb_vBNkG9JI-ICj4izA==
slick.ms.min.js
static.smarthint.co/plugins/slick/ Frame 453B
41 KB
11 KB
Script
General
Full URL
https://static.smarthint.co/plugins/slick/slick.ms.min.js
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
08bee519ee832ea2c923c69c7805b362352964efc0ca27b0eac928249f557ad7

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
application/javascript
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:32 GMT
slick-theme.css
static.smarthint.co/plugins/slick/ Frame 453B
2 KB
1 KB
Stylesheet
General
Full URL
https://static.smarthint.co/plugins/slick/slick-theme.css
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
344a3b6259fb952c89ec29266f9f2afac9ab542f5623797e46457797cc32aa44

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
text/css
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:31 GMT
slick.css
static.smarthint.co/plugins/slick/ Frame 453B
1 KB
750 B
Stylesheet
General
Full URL
https://static.smarthint.co/plugins/slick/slick.css
Requested by
Host: service.smarthint.co
URL: https://service.smarthint.co/overlay/leavingpage?key=SH-253245&session=3a2961c8-787e-4f1c-a7df-268213684a30&anonymousConsumer=f21c5db7-56c6-40ad-b038-37fa80214229&identifiedConsumer=undefined&hasJqueryUi=true&hasJquery=true&currentUrl=https://www.casadopapel.com.br/
Protocol
H2
Security
TLS 1.2, ECDHE_RSA, AES_128_GCM
Server
170.82.174.10 São Paulo, Brazil, ASN266444 (3L CLOUD INTERNET SERVICES LTDA - EPP, BR),
Reverse DNS
Software
gocache / ASP.NET
Resource Hash
7da22f8636f305f31a134374241c5f82b32902370ca8c66bdfe775966d15176f

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 11 May 2021 04:50:31 GMT
content-encoding
gzip
last-modified
Mon, 21 Oct 2019 07:12:12 GMT
server
gocache
x-powered-by
ASP.NET
etag
W/"02ef4dbde87d51:0"
x-gocache-cachestatus
HIT
content-type
text/css
access-control-allow-origin
*
cache-control
max-age=300
expires
Tue, 11 May 2021 04:55:32 GMT
993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e6edd755d3e4a594157b78c26ff258705f63ea7eb3ee2cf1de45648014d282c5

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 12:03:07 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:22 GMT
server
AmazonS3
age
60445
etag
"dec6953171805e66563e17275082433b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13313
x-amz-cf-id
lUX4-mmp6_E0z-QMgSgXAPLez1itAfbDiK06KXP6RUu0RlDz9SZXQg==
992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4910831f9284400786e82e166985c0dde1cb0040b7f489d689672e8709a9cf43

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:22:03 GMT
server
AmazonS3
age
49234
etag
"c0054c14d43e9d5270b1cfc48a1d34fd"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10902
x-amz-cf-id
HZvwfIy-__mhxIj9z9b06gi3B89aeXREZmZOmVVuzP-3yCdaJD9CKw==
993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/
15 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:58 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:27 GMT
server
AmazonS3
age
49234
etag
"a1f8a4b4546a6b31d3dcf59e8fe664cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14970
x-amz-cf-id
E8EDaMbIOFsZfsFOSUbfYrK1IU61xQFeTpQNGoM166zpYDLwhM1HQQ==
1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 01:00:48 GMT
server
AmazonS3
age
568684
etag
"117cbcc63b2c51de12cfd582ba1ddad7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13245
x-amz-cf-id
Y6aFvMo2kSPpfKa3MGtM_ATU_Qv2r1jzPGys_F1Wc_JiO0w6FR5How==
1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f0f025dbcaf2a4f39d879e7713517cb6f1e7bf47366596122babab1783a86723

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 17:27:46 GMT
server
AmazonS3
age
49235
etag
"e1fbc1fa5ba4870a1a120fbd9a9568d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11902
x-amz-cf-id
Zfnajxk3TGgxlR0Fz_hIVny3HrDLj-j_WKraEUIXUibwyqjynR79Sw==
992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8905f3d5fab91fee32ccce1deb8017863fa4dd6c69fa1068ce31d6b963a57221

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:03:02 GMT
server
AmazonS3
age
49235
etag
"ba06f2e8294cd9b372513da8321dc2de"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13459
x-amz-cf-id
BK4uVY7zkMOMuTaf_jJpWVh_uMTviWFjBOgHsIBgG_snh7Dn2-JusQ==
1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/
10 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
Requested by
Host: d2rx7920ojogr7.cloudfront.net
URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c

Request headers

Referer
https://www.casadopapel.com.br/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 24 Apr 2021 09:18:47 GMT
server
AmazonS3
age
314402
etag
"e98ab2e97f7c6319bddb7786302929e8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10515
x-amz-cf-id
NcsynYndrvwK0sHUfjOEdtZCBOzlcZu6AEq7UGdlpFiiE6IRRlzQJA==
993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993383_caixa-de-papelao-sedex-m-c26cm-x-l20cm-x-a10cm-cdp_s22_637551876209972935.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
e6edd755d3e4a594157b78c26ff258705f63ea7eb3ee2cf1de45648014d282c5

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 12:03:07 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:22 GMT
server
AmazonS3
age
60447
etag
"dec6953171805e66563e17275082433b"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13313
x-amz-cf-id
r_xIIQeApRzS8L9eTosYjuDS7giNwMTyc4gnN1F_ITXBcQmBtFfnIA==
992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/ Frame 453B
11 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/28/992855_folha-pautada-oficio-50-folhas_s7_637276801219716661.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
4910831f9284400786e82e166985c0dde1cb0040b7f489d689672e8709a9cf43

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 00:22:03 GMT
server
AmazonS3
age
49236
etag
"c0054c14d43e9d5270b1cfc48a1d34fd"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10902
x-amz-cf-id
JI58QWQyvHOaOZ7HL2-xFnQ1JyciBUv98DSptfOChrTGCMgon5DEww==
993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/ Frame 453B
15 KB
15 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/33/993382_caixa-de-papelao-sedex-p-18cm-x-9cm-x-10cm-casa-do-papel_s18_637551876268294131.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:58 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Wed, 28 Apr 2021 09:20:27 GMT
server
AmazonS3
age
49236
etag
"a1f8a4b4546a6b31d3dcf59e8fe664cb"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
14970
x-amz-cf-id
JfiJMkUPW2mVZ5XjVzrzIVNL1xqV3muF_oKqtmlJiw7so21zPXgX0A==
1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/12/1012214_plastico-bolha-130cm-x-100m-25-micras_s6_637276824470044132.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Tue, 04 May 2021 14:52:28 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sun, 14 Jun 2020 01:00:48 GMT
server
AmazonS3
age
568686
etag
"117cbcc63b2c51de12cfd582ba1ddad7"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13245
x-amz-cf-id
_jYgnA-aV78mTujFQe-j1KjcQTxRCBL6vK1Qjg8zr-pBCuXRz2-5Bg==
1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/ Frame 453B
10 KB
11 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/12/28/1228582_mascara-de-protecao-kn95-pff2-descartavel-sem-valvula-branca-bompack_s3_637548419262106499.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Fri, 07 May 2021 13:30:30 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 24 Apr 2021 09:18:47 GMT
server
AmazonS3
age
314404
etag
"e98ab2e97f7c6319bddb7786302929e8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
10515
x-amz-cf-id
GByBCPMdtS0XuTzaBb-4fe8vNEsOd-kp5FXSoP6NoZww-m3bMS950g==
992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/ Frame 453B
13 KB
13 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/99/27/992797_curriculum-vitae-colado-21cmx29-7cm-sd_s8_637276753813558851.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
8905f3d5fab91fee32ccce1deb8017863fa4dd6c69fa1068ce31d6b963a57221

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 23:03:02 GMT
server
AmazonS3
age
49237
etag
"ba06f2e8294cd9b372513da8321dc2de"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
13459
x-amz-cf-id
Run8ktnVwgWzsnvm-ZkU_VkLXETDsYC19VX8iJ6yAHahsF79lKuKng==
1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/ Frame 453B
12 KB
12 KB
Image
General
Full URL
https://d1rpfggbb8iuri.cloudfront.net/Custom/Content/Products/10/16/1016599_sacola-de-papel-kraft-com-alca-m-24cmx10cmx29cm-azul-com-25-unidades_s5_637276552652668780.jpg
Requested by
Host: static.smarthint.co
URL: https://static.smarthint.co/plugins/jquery/jquery-3.2.1.min.js
Protocol
H2
Security
TLS 1.3, , AES_128_GCM
Server
2600:9000:211e:2c00:11:c54c:f80:21 , United States, ASN16509 (AMAZON-02, US),
Reverse DNS
Software
AmazonS3 /
Resource Hash
f0f025dbcaf2a4f39d879e7713517cb6f1e7bf47366596122babab1783a86723

Request headers

Referer
https://service.smarthint.co/
User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36

Response headers

date
Mon, 10 May 2021 15:09:57 GMT
via
1.1 355e7d579c41c1dcc2113e41403be663.cloudfront.net (CloudFront)
last-modified
Sat, 13 Jun 2020 17:27:46 GMT
server
AmazonS3
age
49237
etag
"e1fbc1fa5ba4870a1a120fbd9a9568d8"
x-cache
Hit from cloudfront
content-type
image/jpeg
cache-control
public, max-age=604800
x-amz-cf-pop
FRA56-C2
accept-ranges
bytes
content-length
11902
x-amz-cf-id
ghwOJguB4PGq4d5Ea_DEFZVvEx5Y6bvwfru54IwV9JkKSHngFvbk6g==

Verdicts & Comments Add Verdict or Comment

180 JavaScript Global Variables

These are the non-standard "global" variables defined on the window object. These can be helpful in identifying possible client-side frameworks and code.

object| 0 object| 1 object| 2 object| 3 object| onbeforexrselect object| ontransitionrun object| ontransitionstart object| ontransitioncancel object| cookieStore function| showDirectoryPicker function| showOpenFilePicker function| showSaveFilePicker boolean| originAgentCluster object| trustedTypes boolean| crossOriginIsolated function| fbAsyncInit function| Async boolean| cssLoaded boolean| pageReady function| onpageready function| $ function| jQuery object| browsingContext object| EzGaCfg object| _tfa object| FB function| _typeof object| TFASC object| TRC object| _taboola number| taboola_view_id object| TRCImpl function| __trcError string| baseUrl object| TagEConfy object| bannerEconfy object| selo undefined| lightboxScriptElement object| seloScriptElement object| tlink object| nmeta object| ccModal undefined| b undefined| x undefined| imgBanner undefined| divClose undefined| spanClose undefined| span object| modal function| sendCompra function| queryStringToJSON function| getLightBoxElement function| getSeloScriptElement object| viewport object| dataLayer object| _dataGTM object| JSResource function| throttled object| componentsLoading function| setMasks function| equalHeight function| placeholderPolyfill function| copyObject function| imageOnError function| DP_jQuery_1620708624940 object| ko function| _ object| Mustache boolean| newModal object| app function| numeral undefined| se function| messageRequired function| MetadataKo string| GoogleAnalyticsObject function| ezga object| GaAddedProductsImpression object| GaTrackers number| GaTrackerCount function| GaTryInit number| productListUniqueID string| base function| abrirTextoSobre function| menuTodas function| adicionarCarrinho function| buscaAtiva function| topoFlutuante function| hamburguerMenu function| linksTopo function| descricaoClick function| scriptReady function| toggleCarrinho function| removerProduto function| quantidadeInput function| botaomenos function| botaomais function| ResumoReady function| homeReady object| jQuery17106200479639774021 number| pos boolean| imgLineChanager string| $id object| $form function| $check_scroll boolean| EzGaReady boolean| GaDebug object| google_tag_data object| gaplugins object| gaGlobal object| gaData function| ga number| gaImpressionProducts object| google_tag_manager function| _googWcmImpl string| _googWcmAk object| __tfa_pixel_init string| smarthintkey function| fbq function| _fbq function| _googWccDebug function| _googCallTrackingImpl function| _gaPhoneImpl function| GooglemKTybQhCsO function| google_trackConversion object| GooglebQhCsO number| count number| loadCount undefined| jQuery17106200479639774021_1620708624446 object| dinConfigs string| dinVERSION object| dinFunctions object| dinTargetForm object| dinWhatsForm object| dinSearchForm object| dinLogger object| dinLeadTracker string| _dPosclickSite object| dinPosclick function| _getdPosclickQueryParams function| _setdPosclickCookie function| _getdPosclickCookie function| _dAutomationGtmRegisterAccess function| _dAutomationGtmAddTimer function| _dAutomationGtmCloseTimer function| _dAutomationGtmAccess object| dinForms function| dinLoadFunction function| JSEncrypt object| criteo_q boolean| blockedRecommendations object| SmartHint function| SmartHintFunction undefined| jQuery17106200479639774021_1620708624447 undefined| jQuery17106200479639774021_1620708624448 undefined| jQuery17106200479639774021_1620708624449 string| div undefined| jQuery17106200479639774021_1620708624450 boolean| trackByEvent undefined| jQuery17106200479639774021_1620708624451 boolean| ErrorMsg2 number| j string| output function| ajustarSlick string| pagina undefined| quantidade number| quantidade2 number| timer function| adicionarCarrinhoSH function| trackEventSH function| notifyWhenAvailableSH function| submitNotifyWhenAvailableSH undefined| node function| slickit number| tentativas string| _SmartHintKey string| _SmartHintUrl string| _SmartHintOrigin boolean| _SmartHintFrame string| _SmartHintPlatform string| _SmartHintDomain

5 Cookies

Domain/Path Name / Value
www.casadopapel.com.br/ Name: myCookie
Value: modalCokies
.casadopapel.com.br/ Name: _gid
Value: GA1.3.945822706.1620708627
.casadopapel.com.br/ Name: _ga
Value: GA1.3.317336560.1620708627
www.casadopapel.com.br/ Name: Vary-Cookie
Value: WS166CS1WH1PL1CF0V1
.casadopapel.com.br/ Name: lcsid
Value: hqf2fiseqirdkevrv0wk5dfh

812 Console Messages

Source Level URL
Text
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 85)
Message:
casa do papel
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 99)
Message:
ValorVal 10
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 103)
Message:
valorPorc 78.28
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 104)
Message:
valorCheio 782.80
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 108)
Message:
ValorFinal 704,52
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 99)
Message:
ValorVal 10
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 103)
Message:
valorPorc 114.44200000000001
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 104)
Message:
valorCheio 1144.42
console-api log URL: https://d2rx7920ojogr7.cloudfront.net/asset.axd?id=4AAAAB-LCAAAAAAABAA9jzEPgjAQRv_LzWgpSImsLsbV0TA05QyobUl7EBPS_-5FAtvlvZd8uQU6aB4LjNCAmSJ5K4x3hI4E9WgxiqsO3cUHFLc7ZPD8147raMIwUjy-ImMPTZ6yVRgdwuB6fwgYJ-v3QG5B_AzmveNiw723uNMytanNwBALwi-Jl571OsnBzFSVdaUKlSslT4U815VkYfibUlV8QENhwvQD-VsKXuAAAAA%3d(Line 108)
Message:
ValorFinal 1029,98
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api error URL: https://d2rx7920ojogr7.cloudfront.net/assets/sjs.js?t=637562606614219751(Line 1)
Message:
TypeError: Cannot read property 'getItem' of null
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
document was already loaded. Calling dinLoadFunction
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
dinLoadFunction called
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Cookie set. cname:[dinTrafficSource] cvalue:[eyJ1cmwiOiJodHRwczovL3d3dy5jYXNhZG9wYXBlbC5jb20uYnIvIiwicmVmZXJlciI6IiJ9] exdays:[90]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
InitPopup called
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
InitPopup done
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
event [submit] attached to the element [[object HTMLFormElement]] using [addEventListener] the function [function(event){var form=event.currentTarget;var formAction=form.getAttribute("action");var labelList={};if(formAction!=undefined&&formAction.search(/^http[s]?:\/\/[^\/]*\/in\/[0-9]*\/[^\/]*\//)==0){dinLogger.Write(dinLogger.DEBUG,"Dinamize's form ignored",form);return;} if(dinSearchForm.DebugMode){debugger;} if(formAction==undefined){formAction="Missing action form";dinLogger.Write(dinLogger.DEBUG,"Form without an action ",form);} dinFunctions.addCookieToForm(document,form) var urlPage=document.location.href;var uriPage=urlPage.replace(/^[a-z]*:\/\/[^\/]*/,"") formAction=formAction.replace(urlPage,"");formAction=formAction.replace(uriPage,"");if(formAction==""){formAction="Missing action form";} var labels=document.getElementsByTagName("label");for(var l=0;l<labels.length;l++){if(labels[l].htmlFor){labelList[labels[l].htmlFor]=labels[l].textContent;}} var elemList={};var findEmail=false;var emailLeadTracker="";for(var e=0;e<form.elements.length;e++){var elem=form.elements[e];if(dinFunctions.hasSkipAttribute(elem)){dinLogger.Write(dinLogger.DEBUG,"Element ignored because dinSkipCapture attribute - ",elem.name);continue;} elemName=elem.name.replace(/\[\]/g,"");if(elemName==""){dinLogger.Write(dinLogger.INFO,"Ignoring nameless element on post ",elem);continue;} if(dinFunctions.validateDuplicity(form,elemName)){dinLogger.Write(dinLogger.ERROR,"Found diferent type inputs with same name - ",elemName);} elemName=elemName.replace(/(\[)\d+?(\])/g,`$1$2`) switch(elem.tagName){case"INPUT":switch(elem.type){case"checkbox":if(typeof(elemList[elemName])=="undefined"){elemList[elemName]=[];} if(elem.checked==true){if(labelList[elem.id]!=undefined){elemList[elemName].push(labelList[elem.id]);}else{elemList[elemName].push(elem.value);}} break;case"radio":if(elem.checked==true){elemList[elemName]=(labelList[elem.id]!=undefined)?labelList[elem.id]:elem.value;} break;case"password":case"submit":case"file":case"button":case"reset":dinLogger.Write(dinLogger.INFO,"Field ignored. Type:["+elem.type+"] ",elem);break;case"email":if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);} elemList[elemName]=elem.value break;default:elemList[elemName]=elem.value var normalize=elemName.replace(/[-_]/,"").trim().toLowerCase();if(normalize=="email"){if(dinFunctions.validateEmail(elem.value)){elemList["{{cmp1}}"]=elem.value findEmail=true;}else{dinLogger.Write(dinLogger.WARN,"Not a valid e-mail ",elem);}}else{if(dinFunctions.isCardNumber(elem.value)){dinLogger.Write(dinLogger.INFO,"Value discarded for Credit Card field ",elem);elemList[elemName]="**************";}} if(elem.type=="hidden"&&elem.value.length>100){elemList[elemName]="(...)";dinLogger.Write(dinLogger.INFO,"Value discarded for large hidden field ",elem);} break;} break;case"SELECT":elemList[elemName]=[];var optionElements=elem.getElementsByTagName('option');for(var y=0;y<optionElements.length;y++){var opt=optionElements.item(y);if(opt.selected){elemList[elemName].push(opt.label);}} break;case"TEXTAREA":dinLogger.Write(dinLogger.INFO,"Textarea ignored ",elem);break;default:elemList[elemName]=elem.value;break;}} var ignoreElements=["captcha","_wpcf7","_wpcf7_version","_wpcf7_unit_tag","_wpnonce","_wpcf7_is_ajax_call","_wpcf7_locale","g-recaptcha-response","_viewstate","_previouspage","_viewstategenerator"];for(var i=0;i<ignoreElements.length;i++){elemList[ignoreElements[i]]=undefined;} var listCode=dinConfigs.listCode;var updateMode=dinConfigs.updateMode;var fieldList={};if(dinConfigs.formHashConfig&&dinConfigs.formHashConfig[formAction]!=undefined){var formData=dinConfigs.formHashConfig[formAction];listCode=formData["listCode"];updateMode=formData["updateMode"];if(typeof formData["fieldRules"]==="undefined"||formData["fieldRules"]==null){dinLogger.Write(dinLogger.DEBUG,"No rules configured for this form",formAction);}else{if(formData["fieldRules"]["Variable"]!=undefined){elemList["{{cmp1}}"]=undefined;for(var elemName in formData["fieldRules"]["Variable"]){if(elemList[elemName]!=undefined){var fieldData=formData["fieldRules"]["Variable"][elemName];if(typeof elemList[elemName]==='string'){var oldValue=elemList[elemName];switch(fieldData["Type"]){case"DT":case"DH":var dateFormat=fieldData["Extras"]["format"];fieldList["cmp"+fieldData["Field"]]=dinFunctions.prepareDate(oldValue,dateFormat);break;case"FLT":var separator=fieldData["Extras"]["separator"];switch(separator){case",":var newValue=oldValue.replace(".","");var newValue2=newValue.replace(",",".");fieldList["cmp"+fieldData["Field"]]=newValue2;break;case".":var newValue=oldValue.replace(",","");fieldList["cmp"+fieldData["Field"]]=newValue;break;} break;case"LV-2":var find=fieldData["Extras"]["separator"];var regFind=new RegExp(find,'g');var newValue=oldValue.replace(regFind,"|");fieldList["cmp"+fieldData["Field"]]=newValue;fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];break;case"PHN":var arrNum=oldValue.match(/\d+/g) if(arrNum!=null){oldValue=arrNum.join("")} fieldList["cmp"+fieldData["Field"]]=oldValue;var insertDDI=fieldData["Extras"]["insertDDI"];if(insertDDI!=undefined&&insertDDI=="S"){var ddi=fieldData["Extras"]["ddi"];fieldList["cmp"+fieldData["Field"]]=ddi+oldValue;} break;default:fieldList["cmp"+fieldData["Field"]]=oldValue;break;}}else if(typeof elemList[elemName]==='object'){var oldValue=elemList[elemName];if(fieldData["Type"]=="LV-2"){fieldList["cmp"+fieldData["Field"]]=oldValue.join("|");fieldList["cmp"+fieldData["Field"]+"_action"]=fieldData["Extras"]["action"];}else{fieldList["cmp"+fieldData["Field"]]=oldValue[0];}}else{dinLogger.Write(dinLogger.ERROR,"Field: '"+elemName+"' | Type: "+typeof elemList[elemName]);}}}} if(formData["fieldRules"]["Fixed"]!=undefined){for(var x in formData["fieldRules"]["Fixed"]){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]]=formData["fieldRules"]["Fixed"][x]["Value"];if(formData["fieldRules"]["Fixed"][x]["Type"]=="LV-2"){fieldList["cmp"+formData["fieldRules"]["Fixed"][x]["Field"]+"_action"]=formData["fieldRules"]["Fixed"][x]["Extras"]["action"];}}}}}else{if(!findEmail){dinLogger.Write(dinLogger.WARN,"No valid email found.",form);return;}} var email="";var externalCode="";if(typeof fieldList.cmp1==="string"&&fieldList.cmp1!==""){email=fieldList.cmp1;} if(typeof fieldList.cmp3==="string"&&fieldList.cmp3!==""){externalCode=fieldList.cmp3;} if(typeof elemList["{{cmp1}}"]==="string"&&elemList["{{cmp1}}"]!==""){email=elemList["{{cmp1}}"];} if(typeof elemList["{{cmp3}}"]==="string"&&elemList["{{cmp3}}"]!==""){externalCode=elemList["{{cmp3}}"];} if(email===""&&externalCode===""){dinLogger.Write(dinLogger.WARN,"This form was mapped, but no valid email or external code was found. If you filled the form correctly, you'll need to remap it by deleting it's configuration and creating a new one.",form);return} if(typeof dinLeadTracker!=="undefined"&&dinLeadTracker.isActive()){if(email!==""){dinLeadTracker.SetLeadEmail(email);} if(externalCode!==""){dinLeadTracker.SetLeadExternalId(externalCode);}} var sendElement={url:document.location.href.split("?")[0],title:document.title,formId:form.id,formAction:formAction,elemList:elemList,fieldList:fieldList,version:dinVERSION,listCode:listCode,updateMode:updateMode,};var jsonStr=JSON.stringify(sendElement);if(jsonStr==undefined){dinLogger.Write(dinLogger.ERROR,"Couldn't generate form's json ",sendElement);return;} dinFunctions.requestKeepAlive('//receiver.emkt.dinamize.com/inc/'+dinConfigs.clientCode+'/'+dinConfigs.siteCode+'/'+encodeURIComponent(dinFunctions.base64Encode(jsonStr)),Math.floor((Math.random()*99999)+1));dinLogger.Write(dinLogger.DEBUG,"Data sent to Dinamize ",form);}]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
Event attached to form [object HTMLFormElement]
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
LeadTracking is active
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
LeadTracker: Starting to post
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
LeadTracker: Will not ask for consent
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
LeadTracker: There is no user info on cookie to post
console-api log URL: https://receiver.posclick.dinamize.com/forms/js/319779_1276.js(Line 240)
Message:
dinLoadFunction done
console-api warning URL: https://d2rx7920ojogr7.cloudfront.net/assets/shjs.js?t=637562606614219751(Line 1)
Message:
!! Há erros de scripts de terceiros !! Por favor, contate a Empresa responsável pelo script.

Security Headers

This page lists any security headers set by the main page. If you want to understand what these mean and how to use them, head on over to this page

Header Value
Strict-Transport-Security max-age=31536000

Indicators

This is a term in the security industry to describe indicators such as IPs, Domains, Hashes, etc. This does not imply that any of these indicate malicious activity.

banner.compreconfie.com.br
bid.g.doubleclick.net
cdn.taboola.com
connect.facebook.net
d1rpfggbb8iuri.cloudfront.net
d2rx7920ojogr7.cloudfront.net
fonts.googleapis.com
fonts.gstatic.com
googleads.g.doubleclick.net
gum.criteo.com
informativocdp.com.br
informativocdp.com.br.admin-eu.cas.ms
mcasproxy.azureedge.net
receiver.posclick.dinamize.com
search.smarthint.co
selo.compreconfie.com.br
service.smarthint.co
sslwidget.criteo.com
stackpath.bootstrapcdn.com
static.criteo.net
static.smarthint.co
stats.g.doubleclick.net
supriagora.admin.core.dcg.com.br
widget.us.criteo.com
www.casadopapel.com.br
www.facebook.com
www.google-analytics.com
www.google.com
www.google.de
www.googleadservices.com
www.googletagmanager.com
www.gstatic.com
www.supriagora.com.br
129.213.13.25
129.213.71.140
142.251.5.156
170.82.174.10
172.217.23.98
178.250.0.163
191.6.211.41
199.232.137.44
2600:9000:2057:7800:4:524f:74c0:21
2600:9000:211e:2c00:11:c54c:f80:21
2606:2800:233:1cb7:261b:1f9c:2074:3c
2606:4700::6812:acf
2a00:1450:4001:808::2004
2a00:1450:4001:808::200e
2a00:1450:4001:80f::2002
2a00:1450:4001:811::2008
2a00:1450:4001:829::2003
2a00:1450:4001:82f::2003
2a00:1450:4001:82f::200a
2a00:1450:4001:830::2003
2a00:1450:400c:c08::9a
2a02:2638:1::3
2a02:2638::1c
2a02:26f0:64::210:6bb9
2a03:2880:f01c:8012:face:b00c:0:3
2a03:2880:f11c:8183:face:b00c:0:25de
3.222.77.24
3.23.208.81
34.231.96.45
51.105.164.234
74.119.119.150
0192dcf69b7dc3b2dab1fe31fe89008ea9ab41f63f864e3633cce266aa2e0ee9
04075dd117d6b76c3bda9e2834fc35cb9374194b412378bd1141811bc3201980
04356aad80f43e9eb3d559cd56be26612c9e9a4f658b785fc65db15e983f5725
054420129eb5c465d9d83e8c8fb67fbe1ce6b7712b04ba2a1fe3da1288268dda
058ed961bfe422af7bfc65865f4c08531ec8ace995f8a1ec560a46581cb7712c
08bee519ee832ea2c923c69c7805b362352964efc0ca27b0eac928249f557ad7
0af867e8ee3d1f30772e364e82e0df35a0bbce7dcf93a91e409148acf9785bcc
0c5c894e4b21b023ab1efc47d98e818062cc2e7f9207e638664aba47e6207594
0da7fc1ae23678b2872653962d147fcd1cbd0a5a9c8f84d44ae99bc581fd9062
10d8d42d73a02ddb877101e72fbfa15a0ec820224d97cedee4cf92d571be5caa
136ace6bc7623b431e7402fb3fa987721fb0d7e2b27e323ff971b1e461418dde
158ed588a61cbccd6f9c9a3032b1f624534109f280a6948f4c84f490adc9b538
1681889191121663b299932f5b7217c52b387a3efaae75148954b0bf2a32e350
17753aa02de8840169ce21823e887cf29faf2da41213cbccbeaf4b4e3e95e66c
17d8356a48a87a3ec774f9be22ec26ab0c772065198a6b5348098ea4b271a417
17dfdc15db7396b3c1442e8b77f8c40178257aa125c24e78cd703d7790cea1cd
17f789af2441b1b2ffed562dd8459eb5067c619a02e0a7e8013e069c4fa0b60e
1f84668587b370fd0e4a164fbba6b6751ad55eda21ae6d731ac23e4f3a77074e
20588f1314ba0fccc5db62eb3d68c73711dbd0462e0acafe827b42395b3a85e3
2272a9fdfc219acedc5fa5baac64fce609779754e70adb1d710417d81d2f10ce
248185ed91b53f8b51ee3f8ad92c4332f254b4335ccc027bfe1a86a667538a22
24f78a86fd508966a8dccbe17a1a4a6ebe2ee04a62a77395055b85cb32f171b2
2a05f16d5b8bec82edfc57b6411b1f13de5a380aa25888d17ec289322279ff5c
2c4c61a1760079f31041078f454aca7d2c8297cc7923ceb5584127dbddcc0382
2cb09c7b3e19bfc41743ca3624ef81c3258d56525647feac76aa757e0292627a
30da7451dce6ab9a6dc643fc1e4f2045d60848fee94d20be7c709cdb85b37fe1
3145725123937cb037f23c9bf4de467ba87dd3bed2971630f32d9ced5ea5baa8
3303107c96f73c5197dc78f001ea4035868305625e11703b0bde2171ec0a38d4
344a3b6259fb952c89ec29266f9f2afac9ab542f5623797e46457797cc32aa44
36ace827af753c9fe0df0ddfe38eb0ebdbf2d8f4140de515548e35d5ee1a43a0
36f3e41a8dccb6f90f471726f651fef48ab8197d1097f94248dc11101f668855
37d2e0c8778151de93c99249e274313f83be66b3a25a91cd296e443c10b2c528
37f15bf0263e5ba81afad24645a2df808d079c65beb7420c21c02e24ff75cc3d
38281fcc2a7815c29cd3dd706e81960d7f9d6249f5a9eaa0db4367ae757a1fa1
38f1ef9a8d89b503c3809e4436148b8f4957acf1b94b113830e49e784addd696
394ed419dc3d28b232a95fd56c963e7fae11eced9769f29a40b1e212b79e6f84
3abfa929cdca725df40f0d29a1ca582549a00668f80182e51ec0651d19fa0212
3af57f9a06d0870d69f3c4ec7ba13cd03ab59608054c1cd3d4509517b94b10cc
3ee5a2b6b1c12c328b14bec377b707e653d58925028807a10786a6247756be0d
40cda3f8e68f96c77d60230c60bcfe5af74d4b9f06e48cf8b8a5c609791f1740
41a4a1998c7b07d82a0161739251f80d67e6e769ca477bc79e16eb8a871b06ab
43b8d6e555edba03fadfcec6cb4b3bfeb708fdc7ab1ac9673261c25dd6e9888c
44abb3ee4f182bf03c11579ed236efe2eaa1a907b3be5f8e75acdf47d3667dce
4545eb1dec25fe868d19dc292d417d8a9e41c0276d75a4eaf524a9db21aa705a
47b5658d7fcff642aa8971474a52a2125183164c0ded6142cefde0632950576b
47d4c6c2526984e8d6285b5ce69930a4083b891c6b499117a794c7dd4f03e656
486533c23dfe246e8bae30ac7043dc8915ec42c9c17ff7e66da1f17800840e5e
4910831f9284400786e82e166985c0dde1cb0040b7f489d689672e8709a9cf43
49e1bc187b1a0224ab699435c530b7d8761e8f00c2f8e1710eb6e586ba054169
4b255fa0ef430718e3ee7fce61b25be80a70671f49385c51d811f9abf96f0a75
4e9cfa5aba650a02f17b12665e510b789c142b208c77fab58ec37ca8c0f0137f
4eba73cb1cf9ee27e50294bb43797b97a6efc406ff797ab824eab4b75902dfd3
4f39de549c4b7336fa25766c692c4afb544cdac3c79bc90a9ce1cbab30c224f3
4f3b07c24485857b683742e8a1abb0761e2f2f293469f36f0565e0d0772c17ae
4f597da0310972ea2e55857edaf177b7cea551bd0896b6d82c8140e2c87614de
4f6f97e26e03cef272c4719caa367aa921b75d4ab8c6e0ee3763070d28c9964a
53964478a7c634e8dad34ecc303dd8048d00dce4993906de1bacf67f663486ef
55accff7b642c2d7a402cbe03c1494c0f14a76bc03dee9d47d219562b6a152a5
57903f12c29cbdf09fb2deafac781d6576c39a10c7a192b849cf4293adb040e9
5a5157257f5713cb453a0f0f23f66987546e1b9e32ed124b6fe1182623894af2
5a8c623b34dcf729895c3bc9b6e261796bbad69555a21ad6d2f9b4e7bc27b6e7
5ac9fe670f955498a4d2e02ef64c7909da7b863d5d3b7a4d404e9f94227b1405
5b710794ef125181bc0bcce873cfba8c11a0717a081a813ef5a38eea33300303
5be5957330276f4ac50e9ca9877ec991650bfefc23366e0726998be3047183af
5ff4091be39a80318d066443d59c45328185e1feebd3eb29d421b381a2bd411a
63c02b78ce5133d456190865f76fe55104eb2dc5ccc225f0d0d3a510a8fbc7ff
677235bd94be06bc66c3d707f67ccae274c4797d4a0c848de391eb8e6d34ec5e
67de6759572ceaaf206d42fcc55011526c76a5843a9600ca9298a8c846869801
694c129be643a6d05ec1b206d7c236257addb8b354664f39127cf5622a9dd451
6a19636aa7c9957c2419bb331dff9e744ae47d5b709ab51c74799929c1258189
6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b
6d0a872c565d03937a9325df3419322b4a181f07c5e8ce3a3f7bf2189b4946db
6d6a6a7549df79275ef415ba50f979f9b2da8663e174a62a0e4030022ba9acad
6e7c0ad0f65d6bb337ecd84e1623c1dc1d7a3d88ea7a4c01ecec4b9061e48db3
720e7255e81b09bf23cf8c2a36db02a76493b1bffb7574883721780001d007a3
7288efb435748f13922a9249655efc6fdbde8a5664c0cd80ecc3d9be4eabf407
73976c2ba0fcf7e5d2acf277b00c3d2c93ada7da9a9a1e152e77c9ea59fe798d
749ad6779da2318ceb66222ffc8d1fe2654751a0d29887c073d01c18239ae769
74c2dd0ea71dae29eb97b4865e8e482aea2ecbb6a822581d056f45b9f25a0296
77272a5f17d800fc50494fbff8a13c8e4d0eb1c9f669f59c303bcc151a714ff5
77efc118dfb069e5999a57bb7de2f1f77fa168ea0eefaff523a4aa693b14b14e
781eef6433530449b6ce6517b5a1597f53eacac84a81adbbe9d79b2fcae9043c
789834e558124d7d3626daf830b6418af3c86e316ff1e428804ca69649bbd67b
78dc1d813da12c0a30b5f00242c82b9cd577771cf689d3d1061fea6cc9613cc0
799aeb25cc0373fdee0e1b1db7ad6c2f6a0e058dfadaa3379689f583213190bd
7da22f8636f305f31a134374241c5f82b32902370ca8c66bdfe775966d15176f
7de342003cb769c577e917c9e7fcadf7616cb5ddc00431dc0b0631774c86e82c
7f4937b5a0a9875f83a607ab71e9939a03e9ee2fa4269d55ffc22ca305364703
81b9fb21408062ff70ad5cc8406539a492f4bb221891a773e68777941785d5a3
8337212354871836e6763a41e615916c89bac5b3f1f0adf60ba43c7c806e1015
84770ea8d4cfbcf7d51c45d7d9b9d753dacba80ae473aa63db2c336aa80552de
84e01419bd81f32ac6df0f75f49c604fda9172000a3ae432b3c47b2a6a712d80
87083882cc6015984eb0411a99d3981817f5dc5c90ba24f0940420c5548d82de
8767f01caa430c5bd4e3b008a8e9dfe022156a4e91a23c394fdcb05c267f1b94
87f6e3a995849a797d2ccaa3aa3ca2e3468fc48a5025cafa56846244fdea04fb
8837574056a0c2190549174b58c15f9f486d4aa919165ced8e2b4cdf248d4702
88e72accb0d1a4e3f448819ddb534a10f026708656621cca88cfc3172e9f39af
8905f3d5fab91fee32ccce1deb8017863fa4dd6c69fa1068ce31d6b963a57221
8cedb39ee72b78f9f8cd68b89b79f836693fcbf46a63cd9a889150026272b5a3
8f496ca30a71d76b16ad3fcc919074782d80f3337821dc11d4590c9aa7150311
90c779d2e574b7a963c02a5a20a66511a56841af363e5467e64e73c71b17fe54
923698ff569fdf33b9b0dec7df6876f1c21e92a98f0cefcd27a38e899852164c
92ea73add2fbb7f75df6a16d1911e06de6fb5df78afa84758dd44342d05af977
938d28da5e3cf6f17307cd3fe8751c2395fd23565cddd753a4589a539671b84b
9654f1ce14add96952ea817a42750b5ed8fb56519ece8bc22c8315aefe80b42b
965574e97c29813feaa62a0a149731306ee4725e027603b937905375d3121c89
98b86074dd63de3a51e3c7e07f4123c04dd7848faebdf6d00e1c76a9072bfe8a
99f68954741f6bb28df003ef807010b6cdb475bfe50bb60f3a13741ebea215e5
9a8a29ece87ef97a9d603d31303d9968bc96902dccb936370482f22db2dc2ded
9b3af08df097f64a51ac638696ced1f010af3be31ec1e6d3525f269b0963beab
9b40c692dc0e0077f79b52a62e32c1f9827bd86b45579a5249cbde6b4b58b913
9b4cd006e6c16b3535a57f8bafcb3cac65c23c60d53c93fe39520fdd50ca28a0
9f2d370d6329b0a8ed860509ef3681dd267102ea249bf2b938babaf8d0851312
9f5b24e5c853e89c63788ee9737e4adab46caa801fcb7f8d24936a5baa7102f8
9f959aaad80347edc26ed8279c6a68c098efc76876ac2e2f8ccc54b118f197f4
9faaf18aa40b272571a39100cfb5d3bf3a8ee865e53b120f034284285a2f853a
9fbb20b5d55dc3107bab0ad62ad8271c44ef5fd7063fc647a09d9f9cca4c35e4
a03c014320acd383a7511fd7f34b35197e8e13403e36e4c508efdf13afebe872
a0b6d5fdf0d5996d6230dea58a2b7a7f253b06d71840c036279a101efc2945c6
a0e2aa30ab36eda516aacffc5f9d1b9399092c65e73bc9479d8f7788333d0fd6
a506c0bb68abcc20d8b48452e5e73e4071f210024695319f6d0a6274d663d279
a50c7aedf625b01a5838eef908c741f7adcabc316a081a1c7a0491655c5092e6
a517525b8a7d39bcaf1cf5f9695c5be8fce7a6b920a3924c1a4f70e8ea748c05
a6b3924be8c0b52b91fc0a4f6704bf349bbf22f3cbe5a4d0223ad3c39973e58d
a7600b2c4496cc72b26bf9a7be6a656e78b8d858bd6e3956b71c8fffc4d3a4a1
a83079124373d924ad1402fbc08d2e24d0043234d4c26565f1c368745f55f5d9
a936f0ad60ee894574cbc1c6db69be26e54e0e862c43b512e8e3ec5e52ded42f
a986193bee4bc8053c48dfdcd7aebf6201da89d83f2030421bf5314eb9e867fb
ae0ef0345b3c44e662bb00718bf1dc198ab1daafc11bcb46cba76c08614d29d5
ae50c41a9331bcdfa892f8a9c92d1c5097ded0bd9de4352ca3dd365caeef6f64
af3769f8e162d297d4208586c1f7173175e142a7cf631a4e93d0ddd38724e7c2
af5ad892a6e22677b3c096bc3477fa77cb69302ff514bdab0be277dce214de56
afa0058e63eab2db05b119d003dd12c6339920031eefa696c2cc6ea7a8afb0eb
afb57c26a40e1653a852884386e4d5ed0e9b07e0bac66ee97565f248f6a970d7
b00342dea78d65a39d41e9d1f6d40c0ba55366c01114652a326da1bda72c508e
b218faae41513967e3178b05ba3c509e54319c514f8d1a3e208c4f1433c7da99
b25ef43c6cf4fb5e5e31b7b15586e6752362e476f8ca27d2effe17664bc270cf
b2d313190acfbfc1aee1e4332b420531abc11a2ea686b8b09f336291bc7d7171
b3d9a37c3110d0d5edf534a4dd964bb85d8661820e4c39e4c63c96bd2813b726
ba9fb7c6bb2bd700401f321df9dd4a2319fc28450016aa099d2ab01a35011b7d
bcc9004a270b1e74dbc1713266c9ecbb920b4e5d93c53d627c1302a3abb6f398
bd6ca9e18371639b1e538ea315ff9f94da930be31133b702377b6950026f4444
bda4335bf9958eeb49be5ef9a0475cd9d06ebcda29e115254b9b752e78ae206f
c3219a1ac7dbfa093c7cdd83d5224dbd66808f369d2e7c5c7687cc24f9108c3e
c4521a289a6257a7aee087097622195f4b8bd9777f119ccf29b21b51f00a90e4
c7889704959dbdaf496151ca144ba8039ee45f76c3720d45dd6703ff2df4f97e
c896a7a8425674dbe71deb60125749e366f4724cd7a3307b2cbfdd47fa7a2685
c90ce859d70193fbadb90accdc0d785d0404bfd2214ff545d151bd68f3e31fba
c9631615b05438482248f76f813f080f9b4e76da45841b4855ba60aaef0f6a93
cdffa6e591a49a2958aafda3650aaaab98598bd3c6d177800277248f4c26ab38
cf50a8cbd0aff0aced5a1df7eb256da3b157ca8b249601a2672d068b32df9612
d10e701c44ab739c7d711b6483def0c6cd47e5a3d04eda1df2c5cbb08f21d81a
d1a5809604d1c5926729de41fa103684174f87270cb6232e9bddea2d49d52392
d2bdbcdbf9a55f996f3dfc875c4e2fd4f1784762203449038647e8d5b511bd2f
d2bf957e7e56b79d2f19aa1808b218cf6158e0a1c183ad453f24b18d474534e4
d3ded1b8a776a57b98c6294f124eb2a12921aba32c1dde936b72a1545d05e5c5
d593eab937ae208334c866b7afc56b0703787c857dae8bb562aefbbd3ca15ee6
d6b2f723ade145d8d656709e3e4f617c70510de2e920b06c10f981e86f509a7c
d7067a57686e9c5f348b2a5bc3a356031526d98dfdee73fefc95747f026b1193
d8dafc67178ab9ed24bfc5e93e3c1ea6c34e034dbe93278eb0e0d1316e23ba12
d9bfbc20c968d9573def9bd4dce8fb85d4175e4a3466e178e4ab6c6c426c2f2c
dbc54a0d49a42da4ad91ca0b5248dda43da1815806fd7aad7c95a1bbd4ca1638
dca4bf9c1d0d72a328b01a79c43be8be104a9ca890a4b69bb5d55c2ffb6876a6
dfe399789e11e54ae9d20b9808bab0233d47ef1cf3d9cf0bb39739ff87310f98
e20d81600d62d55b9a5dcba37eaa87f893361e8729ec6dc29fd163198d65a3ff
e249e66cc13ef39d2631cc1ccf75e89a9dcb2450f2f7c51e05838b53fefca49a
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
e41ce338f36291b992eeb739a42835071abf31e8cd6cc532f0af10dc5cd2a0ab
e5263de203293fef26bea08affbc85705b76d13f2f59211f5f4aeee6453b6135
e5d27cac17bfa2406306762d133a3c895f9122a22deebb9d89eb079f4f2dfeb3
e663a13fa4c1d70d5616ac2d116ac39967c160b85da4f4aa96ef951e256e406e
e6edd755d3e4a594157b78c26ff258705f63ea7eb3ee2cf1de45648014d282c5
e9b82f9f7afa4decbc27484d678e017b543643456837c455cb70f4bb96cbd00a
ed959f719c611067a894bc61115fdeefff3aa8b50f3ff8ab89a86cadd3d239e6
ef1955ae757c8b966c83248350331bd3a30f658ced11f387f8ebf05ab3368629
f0f025dbcaf2a4f39d879e7713517cb6f1e7bf47366596122babab1783a86723
f11285ac5d47e5c96ca9344dea1d91b8343166b32e8383d1c755e22052ac3664
f4536525ac73837afdcd68a2d3ebdbc1a9f005be5c7b09944c20f3adb95bb8a0
f612f5b41d5ccd9c6758c1ee6b7139184081dce7c509d2f1cf543e83fbc054b6
f6aae66a0317cbc4e30ad86aea61b62c05f66fb744c6b46497aa5b9904b62d8e
f75e846cc83bd11432f4b1e21a45f31bc85283d11d372f7b19accd1bf6a2635c
f827564e84cea92e2931063ef0937fb6022a785a03a00a80da204432e1180336
fac26b0b67ec27beb031a2b594552729152090b3ffd065cf53e2c5892b3c935a
fc682ad0fffb2349bf95a21390df5fd8f1eeca85b5cfa221bf5df8f33024b59c
fd07a4411ce0dea1586bf9ed82430e39393a0506a61e3d93e5d4d98e804438f8
ff2fde453aa6220144126828a284d4cc227479f1fe83beef3a6b6a4504c7e4df