Step by Step Process
- Form data gets passed with the captcha_score into a holding table
- A guid gets created and ties to the holding table, conversion pixel, captch_score, and guid. This information gets stored in the DE Hcaptcha_Verification_Data
- If the score is less the 70 the submission is treated normally
- If the score is greater then 80 the submission is ignored
- If the score is between 70 and 80 then the submission goes throught the email verification process.
Verification Process
If the submission needs verified before sending the TY and conversion email, the conversion pixel stops executing and the pixel redirects to the cloud page in the shared BU with the confirmation id in the query string like this: https://pages.upmc.com/create-confirmation-email?confirmation_id=4865984d-3747-436a-b36d-5820bc2cfe98
The Cloud page will fire a confirmation email in the UPMC BU called “hcaptcha verification email”
The email has a link with a verification button. Once the person clicks on the confirmation, the form conversion pixel resumes execution of the record.
Flowchart
Data Extensions
Holding Table
Triggered Send Data Extension(s)
Journey Entry Data Extension(s)
Implementation Code in Conversion Pixels
- Set the Holding DE Name
- SET @HOLDING_DATA_EXTENSION = ‘Ent.Sports_Medicine_Contact_Us_HOLDING’
- SET @override_score = ‘false’
- Include Confirmation LookupRows override instead of just unprocessed leads
- SET @confirmation_id = RequestParameter(“confirmation_id”)
IF(Length(@confirmation_id) < 1) THEN
SET @LookupData = LookupRows(@HOLDING_DATA_EXTENSION ,’has_processed’,”false”)
ELSE
SET @LookupData = LookupRows(@HOLDING_DATA_EXTENSION ,’confirmation_id’, @confirmation_id )
ENDIF
SET @DataRowcount = RowCount(@LookupData)
- SET @confirmation_id = RequestParameter(“confirmation_id”)
- Get Chaptcha Score of unprocessed lead
- SET @captcha_score = Field(@row, “captcha_score”)
- Update has processed and override scoer
- IF(Length(@confirmation_id) < 1) THENUpsertData(@HOLDING_DATA_EXTENSION, 2, ’email_address’, @EmailAddress,’date_created’,@date_created, ‘has_processed’, ‘true’)ELSEUpsertData(@HOLDING_DATA_EXTENSION, 2, ‘confirmation_id’, @confirmation_id,’date_created’,@date_created, ‘has_processed’, ‘true’, ‘override_score’, @override_score)ENDIF
- Include Shared chaptcha evaluation code
- ]%% %%=ContentBlockById(“32412”)=%% %%[
Triggered Emails
UPMC BU>Content Builder>Emails>_Hcaptcha>hcaptcha verification email
Sports Med Code Example
UPMC Sitecore Form URL (Dev)
Development version of the UPMC form used for testing.
UPMC Sitecore Form URL (Prod)
Production version of the UPMC form.
Internal API Checklist
A (google sheet) checklist utilized by the flying cork team to keep track of API tasks and deliverables.