Skip to contents

Dynata newsletter setup

Usage

dynata_newsletter_config(file, project_id, survey_url)

dynata_newsletter_url(project_id, survey_url)

Arguments

file

File path where to create the json specification for the newsletter launch

project_id

Dynata Project ID

survey_url

Qualtrics survey URL Check out urls.ylm and use qualtrics_survey value

Examples

if (FALSE) { # \dontrun{
# create the template
dynata_newsletter_config(
  file = "test.json",
  project_id = "Newsletter-Project",
  survey_url = "https://gradientmetrics.az1.qualtrics.com/jfe/form/SV_1R1GC6eoXjiBPrT"
)
# test redirects
dynata_newsletter_url(
  project_id = "Newsletter-Project",
  survey_url = "https://gradientmetrics.az1.qualtrics.com/jfe/form/SV_1R1GC6eoXjiBPrT"
)
# create the project
dynata_project_create(file = "test.json", auth = dynata_auth(TRUE))
} # }